Revision d9377608
Added by Ermal LUÇI over 12 years ago
etc/inc/interfaces.inc | ||
---|---|---|
3347 | 3347 |
pfSense_interface_rename($tmpstfiface, $stfiface); |
3348 | 3348 |
pfSense_interface_flags($stfiface, IFF_LINK2); |
3349 | 3349 |
mwexec("/sbin/ifconfig {$stfiface} inet6 {$rd6prefix}/{$rd6prefixlen}"); |
3350 |
if ($wancfg['prefix-6rd-v4plen'] < 32) |
|
3350 |
if ($wancfg['prefix-6rd-v4plen'] > 0 && $wancfg['prefix-6rd-v4plen'] < 32)
|
|
3351 | 3351 |
mwexec("/sbin/ifconfig {$stfiface} stfv4net {$ip4address}/{$wancfg['prefix-6rd-v4plen']}"); |
3352 | 3352 |
if ($g['debug']) |
3353 | 3353 |
log_error("Created 6rd interface {$stfiface} {$rd6prefix}/{$rd6prefixlen}"); |
Also available in: Unified diff
Check lower bound as well