netaudit: simplify
This commit is contained in:
parent
efd4d75082
commit
5465c4c01a
1 changed files with 1 additions and 9 deletions
|
@ -136,15 +136,7 @@ fn checkauth {
|
|||
}
|
||||
if not {
|
||||
for(i in $auth){
|
||||
if(~ $i $sys){
|
||||
echo ' we are the auth server '^$i
|
||||
authisus=1
|
||||
}
|
||||
if not if(~ $i $dom){
|
||||
echo ' we are the auth server '^$i
|
||||
authisus=1
|
||||
}
|
||||
if not if(~ $i $ip){
|
||||
if(~ $i $sys $dom $ip){
|
||||
echo ' we are the auth server '^$i
|
||||
authisus=1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue