Supersede the DHCP MTU when advanced options are present. Issue #8507

This commit is contained in:
jim-p 2018-10-02 15:41:16 -04:00
parent fe31dc3564
commit 5a7035523e

View File

@ -5093,6 +5093,7 @@ function DHCP_Config_File_Advanced($interface, $ifcfg, $realif) {
$dhclientconf = "interface \"{$realif}\" {\n";
$dhclientconf .= "\n";
$dhclientconf .= "\tsupersede interface-mtu 0;\n";
$dhclientconf .= "# DHCP Protocol Timing Values\n";
$dhclientconf .= "{$adv_dhcp_pt_timeout}";
$dhclientconf .= "{$adv_dhcp_pt_retry}";