diff options
author | robiscool <robrob2626@yahoo.com> | 2011-07-26 20:58:52 -0700 |
---|---|---|
committer | robiscool <robrob2626@yahoo.com> | 2011-07-26 20:58:52 -0700 |
commit | 38d0c81e48b9eb6dcd353ecddbc2c4b8508bfe8d (patch) | |
tree | 3926a54936779dd31e1d201be37948212780a3d9 /config/snort-dev/snort_json_post.php | |
parent | 5cea4cc2d818ef2ff8f34f200d02c1089799385a (diff) | |
download | pfsense-packages-38d0c81e48b9eb6dcd353ecddbc2c4b8508bfe8d.tar.gz pfsense-packages-38d0c81e48b9eb6dcd353ecddbc2c4b8508bfe8d.tar.bz2 pfsense-packages-38d0c81e48b9eb6dcd353ecddbc2c4b8508bfe8d.zip |
snort-dev, add ips tab to rule db, add js ips table create
Diffstat (limited to 'config/snort-dev/snort_json_post.php')
-rw-r--r-- | config/snort-dev/snort_json_post.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/snort-dev/snort_json_post.php b/config/snort-dev/snort_json_post.php index 359dd23a..ee9d9ead 100644 --- a/config/snort-dev/snort_json_post.php +++ b/config/snort-dev/snort_json_post.php @@ -62,6 +62,19 @@ function snortJsonReturnCode($returnStatus) } } +// snortsam save settings +if ($_POST['snortSamSaveSettings'] == 1) { + + unset($_POST['snortSamSaveSettings']); + + function snortSamSaveFunc() + { + print_r($_POST[snortsam][db]); + } + snortSamSaveFunc(); + +} + // row from db by uuid if ($_POST['snortSidRuleEdit'] == 1) { |