diff options
author | robiscool <robrob2626@yahoo.com> | 2011-07-29 15:45:42 -0700 |
---|---|---|
committer | robiscool <robrob2626@yahoo.com> | 2011-07-29 15:45:42 -0700 |
commit | 7a5feaaebb67f6c54695b24bdf4541a3727508e2 (patch) | |
tree | 027e532bcaba6d798033e640a8159ce03687faa3 /config/snort-dev/snort_json_post.php | |
parent | 52ffdc24437fff35dcac9b0722b984240c4b9c4e (diff) | |
download | pfsense-packages-7a5feaaebb67f6c54695b24bdf4541a3727508e2.tar.gz pfsense-packages-7a5feaaebb67f6c54695b24bdf4541a3727508e2.tar.bz2 pfsense-packages-7a5feaaebb67f6c54695b24bdf4541a3727508e2.zip |
snort-dev, finish ips gui for main tabs, update function create ips sid
Diffstat (limited to 'config/snort-dev/snort_json_post.php')
-rw-r--r-- | config/snort-dev/snort_json_post.php | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/config/snort-dev/snort_json_post.php b/config/snort-dev/snort_json_post.php index ee9d9ead..721ee0cc 100644 --- a/config/snort-dev/snort_json_post.php +++ b/config/snort-dev/snort_json_post.php @@ -66,12 +66,22 @@ function snortJsonReturnCode($returnStatus) if ($_POST['snortSamSaveSettings'] == 1) { unset($_POST['snortSamSaveSettings']); - - function snortSamSaveFunc() - { - print_r($_POST[snortsam][db]); + + if ($_POST['ifaceTab'] === 'snort_rulesets_ips') { + function snortSamSaveFunc() + { + print_r($_POST); + } + snortSamSaveFunc(); } - snortSamSaveFunc(); + + if ($_POST['ifaceTab'] === 'snort_rules_ips') { + function snortSamSaveFunc() + { + print_r($_POST); + } + snortSamSaveFunc(); + } } |