mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 11:26:13 +00:00
style sweep https://github.com/opnsense/core/pull/4064
This commit is contained in:
parent
e85557938c
commit
aef9ada7d1
@ -261,9 +261,8 @@ function dhcpd_radvd_configure($verbose = false, $blacklist = array())
|
||||
}
|
||||
|
||||
if (!empty($dhcpv6ifconf['AdvLinkMTU'])) {
|
||||
$overridemtu = $dhcpv6ifconf['AdvLinkMTU'];
|
||||
if ($overridemtu < $mtu) {
|
||||
$mtu = $overridemtu;
|
||||
if ($dhcpv6ifconf['AdvLinkMTU'] < $mtu) {
|
||||
$mtu = $dhcpv6ifconf['AdvLinkMTU'];
|
||||
} else {
|
||||
log_error("Warning! AdvLinkMTU set in config is not lower than the interface MTU, therefore can't be applied.");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user