This commit is contained in:
Jamie Cameron
2019-04-20 21:58:48 -07:00
parent 6d0120604a
commit 64a344d98f

View File

@@ -252,6 +252,7 @@ if(($cfg->{'vlan'} == 1) && ($gconfig{'os_version'} < 5)) {
$cfg->{'vlanid'}]);
push(@options, ['post-down', 'vconfig rem '.$cfg->{'physical'}.' '.
$cfg->{'vlanid'}]);
push(@options, ['vlan-raw-device', $cfg->{'physical'}]);
}
if(($cfg->{'vlan'} == 1) && ($cfg->{'mtu'})) {
push(@options, ['pre-up', '/sbin/ifconfig '.$cfg->{'physical'}.' mtu '.$cfg->{'mtu'}]);