aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort_interfaces_edit.php
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2012-07-03 00:38:07 -0700
committerrobiscool <robrob2626@yahoo.com>2012-07-03 00:38:07 -0700
commitf80fcb63882ab695496141dcc92131c20486dfab (patch)
tree348c8e2e1438a20ee6720aaf226b497230f04ad9 /config/snort-dev/snort_interfaces_edit.php
parentda8fcdbc50c6e0b4def6a7eee0320190492f3d03 (diff)
downloadpfsense-packages-f80fcb63882ab695496141dcc92131c20486dfab.tar.gz
pfsense-packages-f80fcb63882ab695496141dcc92131c20486dfab.tar.bz2
pfsense-packages-f80fcb63882ab695496141dcc92131c20486dfab.zip
snort-dev, add ipv6 support to whitelist build func, remove use of old javascript, php closure adds for namespace
Diffstat (limited to 'config/snort-dev/snort_interfaces_edit.php')
-rw-r--r--config/snort-dev/snort_interfaces_edit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/snort-dev/snort_interfaces_edit.php b/config/snort-dev/snort_interfaces_edit.php
index cdf23825..aee7bee1 100644
--- a/config/snort-dev/snort_interfaces_edit.php
+++ b/config/snort-dev/snort_interfaces_edit.php
@@ -30,7 +30,7 @@
POSSIBILITY OF SUCH DAMAGE.
*/
-require_once("/usr/local/www/guiconfig.inc");
+require_once("guiconfig.inc");
require_once("/usr/local/pkg/snort/snort_gui.inc");
require_once("/usr/local/pkg/snort/snort.inc");
@@ -38,6 +38,7 @@ global $g;
if (!is_array($config['installedpackages']['snortglobal']['rule']))
$config['installedpackages']['snortglobal']['rule'] = array();
+
$a_nat = &$config['installedpackages']['snortglobal']['rule'];
$id = $_GET['id'];
@@ -375,11 +376,10 @@ function enable_change(enable_change) {
}
//-->
</script>
-<?if($pfsense_stable == 'yes'){echo '<p class="pgtitle">' . $pgtitle . '</p>';}?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
-<form action="snort_interfaces_edit.php<?php echo "?id=$id";?>" method="post" enctype="multipart/form-data" name="iform" id="iform">
+<form method="post" enctype="multipart/form-data" name="iform" id="iform">
<?php
/* Display Alert message */
if ($input_errors) {