summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-31 11:07:59 +0000
committerErmal <eri@pfsense.org>2013-01-31 11:07:59 +0000
commit7a04cd20c4d5991c5afeb431589c75aa3956b654 (patch)
treec0ce816db46701de74ef0a34b8234662598d5de3 /etc/rc.newwanip
parentdd1fc379b433c9f6c03d45c2e7a9a5f7dda043d6 (diff)
downloadpfsense-7a04cd20c4d5991c5afeb431589c75aa3956b654.zip
pfsense-7a04cd20c4d5991c5afeb431589c75aa3956b654.tar.gz
Create link_interface_to_track6 to make code more readble and easily trackble. Also improve the generation of rules to avoid creating problems during filter reload and some optimizations with it
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-xetc/rc.newwanip4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index 4df5343..ef72c2d 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -126,10 +126,10 @@ if ($interface == "lan")
/* check tunneled IPv6 interface tracking */
switch($config['interfaces'][$interface]['ipaddrv6']) {
case "6to4":
- interface_6to4_configure($interface);
+ interface_6to4_configure($interface, $config['interfaces'][$interface]);
break;
case "6rd":
- interface_6rd_configure($interface);
+ interface_6rd_configure($interface, $config['interfaces'][$interface]);
break;
}
OpenPOWER on IntegriCloud