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:
Maurice 2020-02-10 19:58:08 +01:00 committed by Franco Fichtner
parent 769d7a9a2e
commit 1fde0b7e2d

View File

@ -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) {