git: 9front

Download patch

ref: 2133a53f9d3c227ed929599404b8c327dcec6f37
parent: eff7165c2ac8f4f1de511f87c6f68ecbdf0b3a1e
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Dec 1 16:59:22 EST 2021

netaudit: simplify

--- a/rc/bin/netaudit
+++ b/rc/bin/netaudit
@@ -136,15 +136,7 @@
 	}
 	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
 			}
--