mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
radvd: don't set Router Address flag
The Router Address flag "indicates that the Prefix field contains a complete IP address assigned to the sending router" (RFC 6275). This does not apply, we only send a prefix. This flag is only relevant for Mobile IPv6.
It has been there (for unknown reasons) since pfSense switched to radvd 8 years ago: 3f9cc8e44c
This commit is contained in:
parent
769d7a9a2e
commit
1fde0b7e2d
@ -324,19 +324,16 @@ function dhcpd_radvd_configure($verbose = false, $blacklist = array())
|
||||
case 'managed':
|
||||
$radvdconf .= "\t\tAdvOnLink on;\n";
|
||||
$radvdconf .= "\t\tAdvAutonomous off;\n";
|
||||
$radvdconf .= "\t\tAdvRouterAddr on;\n";
|
||||
break;
|
||||
case 'router':
|
||||
$radvdconf .= "\t\tAdvOnLink off;\n";
|
||||
$radvdconf .= "\t\tAdvAutonomous off;\n";
|
||||
$radvdconf .= "\t\tAdvRouterAddr on;\n";
|
||||
break;
|
||||
case 'assist':
|
||||
case 'unmanaged':
|
||||
case 'stateless':
|
||||
$radvdconf .= "\t\tAdvOnLink on;\n";
|
||||
$radvdconf .= "\t\tAdvAutonomous on;\n";
|
||||
$radvdconf .= "\t\tAdvRouterAddr on;\n";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@ -495,7 +492,6 @@ function dhcpd_radvd_configure($verbose = false, $blacklist = array())
|
||||
}
|
||||
$radvdconf .= "\t\tAdvOnLink on;\n";
|
||||
$radvdconf .= "\t\tAdvAutonomous on;\n";
|
||||
$radvdconf .= "\t\tAdvRouterAddr on;\n";
|
||||
$radvdconf .= "\t};\n";
|
||||
|
||||
if (count($dnslist) > 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user