netaudit: simplify

This commit is contained in:
cinap_lenrek 2021-12-01 21:59:22 +00:00
parent efd4d75082
commit 5465c4c01a

View file

@ -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
}