Revision 75aec77a
Added by Ermal LUÇI over 11 years ago
etc/inc/services.inc | ||
---|---|---|
220 | 220 |
continue; |
221 | 221 |
|
222 | 222 |
$ifcfgipv6 = get_interface_ipv6($if); |
223 |
if(!is_ipaddrv6($ifcfgipv6)) |
|
224 |
continue; |
|
225 |
|
|
226 |
$ifcfgsnv6 = get_interface_subnetv6($if); |
|
227 |
$subnetv6 = gen_subnetv6($ifcfgipv6, $ifcfgsnv6); |
|
223 |
if(!is_ipaddrv6($ifcfgipv6)) { |
|
224 |
$subnetv6 = "::"; |
|
225 |
$ifcfgsnv6 = "64"; |
|
226 |
} else { |
|
227 |
$ifcfgsnv6 = get_interface_subnetv6($if); |
|
228 |
$subnetv6 = gen_subnetv6($ifcfgipv6, $ifcfgsnv6); |
|
229 |
} |
|
228 | 230 |
$radvdifs[$realif] = $realif; |
229 | 231 |
|
230 | 232 |
$autotype = $config['interfaces'][$trackif]['ipaddrv6']; |
Also available in: Unified diff
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