Correct gateway for Ticket #2882 to the proper value as reported by: cmb

This commit is contained in:
Ermal 2014-11-19 19:36:39 +01:00
parent b40a44a626
commit 7b83f72384

View File

@ -3450,7 +3450,7 @@ function interface_6rd_configure($interface = "wan", $wancfg) {
/* create the long prefix notation for math, save the prefix length */
$rd6prefix = explode("/", $wancfg['prefix-6rd']);
$rd6prefixlen = $rd6prefix[1];
$rd6brgw = rtrim($rd6prefix[0], ':') . ":{$wancfg['gateway-6rd']}";
$rd6brgw = rtrim($rd6prefix[0], ':') . ":{$wancfg['gateway-6rd']}::";
$rd6prefix = Net_IPv6::uncompress($rd6prefix[0]);
/* binary presentation of the prefix for all 128 bits. */