mirror of
https://github.com/webmin/webmin.git
synced 2025-07-25 15:09:18 +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 "*, ::"
|
# All interfaces, put in any order, e.g. "[::], *" or "*, ::"
|
||||||
$listen =~ /^(\*|::|\[::\]),\s*(\*|::|\[::\])$/ ? 1 :
|
$listen =~ /^(\*|::|\[::\]),\s*(\*|::|\[::\])$/ ? 1 :
|
||||||
# IPv6 only, e.g. "[::]" or "::"
|
# IPv6 only, e.g. "[::]" or "::"
|
||||||
$listen =~ /^(?:\:\:|\[\:\:\])$/ ? 4 :
|
$listen eq '::' || $listen eq '[::]' ? 4 :
|
||||||
# IPv4 only, e.g. "*"
|
# IPv4 only, e.g. "*"
|
||||||
$listen eq "*" ? 2 : 3,
|
$listen eq "*" ? 2 : 3,
|
||||||
print &ui_table_row($text{'net_'.$l},
|
print &ui_table_row($text{'net_'.$l},
|
||||||
|
Reference in New Issue
Block a user