mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Fix to simplify check
This commit is contained in:
@ -41,7 +41,7 @@ foreach $l (@listens) {
|
||||
# All interfaces, put in any order, e.g. "[::], *" or "*, ::"
|
||||
$listen =~ /^(\*|::|\[::\]),\s*(\*|::|\[::\])$/ ? 1 :
|
||||
# IPv6 only, e.g. "[::]" or "::"
|
||||
$listen =~ /^(?:\:\:|\[\:\:\])$/ ? 4 :
|
||||
$listen eq '::' || $listen eq '[::]' ? 4 :
|
||||
# IPv4 only, e.g. "*"
|
||||
$listen eq "*" ? 2 : 3,
|
||||
print &ui_table_row($text{'net_'.$l},
|
||||
|
Reference in New Issue
Block a user