diff options
author | Ermal <eri@pfsense.org> | 2014-02-20 23:35:51 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-02-20 23:36:20 +0000 |
commit | 75aec77a87acc4486a229d59688e26992a164b82 (patch) | |
tree | bda400a16dc34ab93c1e29cd4f446bdaa7611c03 /etc/inc/services.inc | |
parent | 3e0b2df22ac8545b8a13cd6217259b37841317ae (diff) | |
download | pfsense-75aec77a87acc4486a229d59688e26992a164b82.zip pfsense-75aec77a87acc4486a229d59688e26992a164b82.tar.gz |
Rather than having issues with not started radvd try to start radvd to discover by itself the prefix on the interface by using the special directive :: on the prefix declaration. Related to many tickets and forum posts
Diffstat (limited to 'etc/inc/services.inc')
-rw-r--r-- | etc/inc/services.inc | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index b778e7a..5b1aa76 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -220,11 +220,13 @@ function services_radvd_configure() { continue; $ifcfgipv6 = get_interface_ipv6($if); - if(!is_ipaddrv6($ifcfgipv6)) - continue; - - $ifcfgsnv6 = get_interface_subnetv6($if); - $subnetv6 = gen_subnetv6($ifcfgipv6, $ifcfgsnv6); + if(!is_ipaddrv6($ifcfgipv6)) { + $subnetv6 = "::"; + $ifcfgsnv6 = "64"; + } else { + $ifcfgsnv6 = get_interface_subnetv6($if); + $subnetv6 = gen_subnetv6($ifcfgipv6, $ifcfgsnv6); + } $radvdifs[$realif] = $realif; $autotype = $config['interfaces'][$trackif]['ipaddrv6']; |