소스 검색

require firewall

Matthew R. Kasun 3 년 전
부모
커밋
37b91adfec
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netclient/ncutils/netclientutils.go

+ 1 - 1
netclient/ncutils/netclientutils.go

@@ -533,7 +533,7 @@ func CheckFirewall() {
 		found = true
 	}
 	if !found {
-		logger.Log(0, "neither iptables nor nft is installed - node cannot be used as a gateway")
+		log.Fatal("neither iptables nor nft is installed - please install one or the other and try again")
 	}
 }