„gaboshlib/g_valid_ip.bashfunc“ ändern
This commit is contained in:
parent
7c857289e6
commit
a676d94eca
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
function g_valid_ip {
|
||||
g_valid_ipv4 && return 0
|
||||
g_valid_ipv6 && return 0
|
||||
g_valid_ipv4 $1 && return 0
|
||||
g_valid_ipv6 $1 && return 0
|
||||
return 1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user