diff options
author | ayvis <ayvis.infra@gmail.com> | 2014-03-19 23:38:56 +0100 |
---|---|---|
committer | ayvis <ayvis.infra@gmail.com> | 2014-03-19 23:38:56 +0100 |
commit | 91f026b02c06751028965bb28cc354dca547f548 (patch) | |
tree | 7f8bc722e13a256296d464778e3c7446f1f97c19 /etc/inc/interfaces.inc | |
parent | ec879e3db4d36212ee200d19e1f7e92f9f4d83c9 (diff) | |
download | pfsense-91f026b02c06751028965bb28cc354dca547f548.zip pfsense-91f026b02c06751028965bb28cc354dca547f548.tar.gz |
replaced uppercase html tags with lowercase
js files saved as UTF-8 / LF
language="JavaScript" deprecated, replaced with type="text/javascript"
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index df452b7..a82884e 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -3250,7 +3250,7 @@ function interface_track6_6rd_configure($interface = "lan", $lancfg) { // echo "64 - (prefixlen {$rd6prefixlen} + v4len (32 - {$wancfg['prefix-6rd-v4plen']})) = {$restbits} \n"; $rd6lanbin .= substr(sprintf("%032b", str_pad($lancfg['track6-prefix-id'], 32, "0", STR_PAD_LEFT)), (32 - $restbits), 32); /* fill the rest out with zeros */ - $rd6lanbin = str_pad($rd6lanbin, 128, "0", STR_PAD_RIGHT);; + $rd6lanbin = str_pad($rd6lanbin, 128, "0", STR_PAD_RIGHT); /* convert the 128 bits for the lan address back into a valid IPv6 address */ $rd6lan = convert_128bit_to_ipv6($rd6lanbin) ."1"; @@ -3307,7 +3307,7 @@ function interface_track6_6to4_configure($interface = "lan", $lancfg) { /* add the custom prefix id */ $sixto4lanbin .= sprintf("%016b", $lancfg['track6-prefix-id']); /* fill the rest out with zeros */ - $sixto4lanbin = str_pad($sixto4lanbin, 128, "0", STR_PAD_RIGHT);; + $sixto4lanbin = str_pad($sixto4lanbin, 128, "0", STR_PAD_RIGHT); /* convert the 128 bits for the lan address back into a valid IPv6 address */ $sixto4lan = convert_128bit_to_ipv6($sixto4lanbin) ."1"; @@ -3357,7 +3357,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. */ $rd6prefixbin .= substr(sprintf("%032b", hexdec($hexwanv4)), $wancfg['prefix-6rd-v4plen'], 32); /* fill out the rest with 0's */ - $rd6prefixbin = str_pad($rd6prefixbin, 128, "0", STR_PAD_RIGHT);; + $rd6prefixbin = str_pad($rd6prefixbin, 128, "0", STR_PAD_RIGHT); /* convert the 128 bits for the broker address back into a valid IPv6 address */ $rd6prefix = convert_128bit_to_ipv6($rd6prefixbin); @@ -3439,11 +3439,11 @@ function interface_6to4_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. */ $stfbrokerbin = substr(sprintf("%032b", hexdec($hexbrv4)), $v4prefixlen, 32); - $stfbrokerbin = str_pad($stfprefixstartbin . $stfbrokerbin, 128, "0", STR_PAD_RIGHT);; + $stfbrokerbin = str_pad($stfprefixstartbin . $stfbrokerbin, 128, "0", STR_PAD_RIGHT); /* for the local subnet too. */ $stflanbin = substr(sprintf("%032b", hexdec($hexwanv4)), $v4prefixlen, 32); - $stflanbin = str_pad($stfprefixstartbin . $stflanbin, 128, "0", STR_PAD_RIGHT);; + $stflanbin = str_pad($stfprefixstartbin . $stflanbin, 128, "0", STR_PAD_RIGHT); /* convert the 128 bits for the broker address back into a valid IPv6 address */ $stfbrarr = array(); |