aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-old
diff options
context:
space:
mode:
Diffstat (limited to 'config/snort-old')
-rwxr-xr-xconfig/snort-old/snort.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort-old/snort.inc b/config/snort-old/snort.inc
index 74a863ad..0ed53feb 100755
--- a/config/snort-old/snort.inc
+++ b/config/snort-old/snort.inc
@@ -927,7 +927,7 @@ function snort_rules_up_install_cron($should_install) {
*/
foreach($int_array as $int) {
/* calculate interface subnet information */
- $ifcfg = &$config['interfaces'][$int];
+ $ifcfg = $config['interfaces'][$int];
$subnet = gen_subnet($ifcfg['ipaddr'], $ifcfg['subnet']);
$subnetmask = gen_subnet_mask($ifcfg['subnet']);
if($subnet == "pppoe" or $subnet == "dhcp") {