mirror of
https://github.com/webmin/webmin.git
synced 2026-09-20 04:20:39 +01:00
Add missing vlan-raw-device field https://github.com/webmin/webmin/issues/1047
This commit is contained in:
@@ -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'}]);
|
||||
|
||||
Reference in New Issue
Block a user