mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Support modern interface names https://github.com/webmin/webmin/issues/803
This commit is contained in:
@@ -718,7 +718,7 @@ else {
|
||||
|
||||
sub interfaces_validate
|
||||
{
|
||||
$in{'iface'} =~ /^[a-z]+\d*(\.\d+)?$/ ||
|
||||
$in{'iface'} =~ /^[a-z]+\d*(s\d*)?(\.\d+)?$/ ||
|
||||
$in{'iface'} =~ /^[a-z]+\+$/ || &error($text{'interfaces_eiface'});
|
||||
local @result = ( $in{'zone'}, $in{'iface'});
|
||||
if (not &new_interfaces_format()) {
|
||||
|
||||
Reference in New Issue
Block a user