summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-03-06 12:10:03 +0000
committerErmal <eri@pfsense.org>2013-03-06 12:10:03 +0000
commitdcddb2fa412f0b6bf9db089963ea56012c406e52 (patch)
tree60f96b3fb7292cf61bd5e159c01222418afb7f19 /etc
parent2459be5008b31d951bf06ea5c6583a0ebd2fb792 (diff)
downloadpfsense-dcddb2fa412f0b6bf9db089963ea56012c406e52.zip
pfsense-dcddb2fa412f0b6bf9db089963ea56012c406e52.tar.gz
You can have multiple 6rd tunnels now days
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index fb7bb9f..165b17d 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3218,7 +3218,7 @@ function interface_6rd_configure($interface = "wan", $wancfg) {
/* if the prefix length is not 32 bits we need to shave bits off from the left of the v4 address. */
$rd6brprefixbin .= substr(sprintf("%032b", hexdec($hexbrv4)), $wancfg['prefix-6rd-v4plen'], 32);
/* fill out the rest with 0's */
- $rd6brprefixbin = str_pad($rd6brprefixbin, 128, "0", STR_PAD_RIGHT);;
+ $rd6brprefixbin = str_pad($rd6brprefixbin, 128, "0", STR_PAD_RIGHT);
/* convert the 128 bits for the broker address back into a valid IPv6 address */
$rd6brgw = convert_128bit_to_ipv6($rd6brprefixbin);
OpenPOWER on IntegriCloud