diff options
author | Ermal <eri@pfsense.org> | 2012-12-21 09:10:35 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-12-21 09:10:35 +0000 |
commit | 3eeac25e995002e20edddd2d38c0ff72cc80810c (patch) | |
tree | 6c2e5814690995efc47dbfeaee2ee8d8b4a54836 /etc/inc/interfaces.inc | |
parent | b273dd26de42ef9c004297ae8c2477d81dfb4765 (diff) | |
download | pfsense-3eeac25e995002e20edddd2d38c0ff72cc80810c.zip pfsense-3eeac25e995002e20edddd2d38c0ff72cc80810c.tar.gz |
Since there is a firewall no need to do ingress checks in the routing table
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 55ca41f..3b6d6c5 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -3162,6 +3162,7 @@ function interface_6rd_configure($interface = "wan") { /* stf approach only works when embedding the entire 32 bits of the v4 */ mwexec("/sbin/ifconfig stf0 create"); + pfSense_interface_flags("stf0", IFF_LINK2); mwexec("/sbin/ifconfig stf0 inet6 {$rd6prefix}/{$rd6prefixlen}"); log_error("Created 6rd interface stf0 {$rd6prefix}/{$rd6prefixlen}"); @@ -3257,6 +3258,7 @@ function interface_6to4_configure($interface = "wan"){ /* setup the stf interface */ mwexec("/sbin/ifconfig stf0 destroy"); mwexec("/sbin/ifconfig stf0 create"); + pfSense_interface_flags("stf0", IFF_LINK2); mwexec("/sbin/ifconfig stf0 inet6 {$stflanpr} prefixlen 16"); log_error("Set IPv6 address inet6 {$stflanpr} prefixlen 16 for stf0, route {$stfbrgw}"); |