Browse Source

require firewall

Matthew R. Kasun 3 năm trước cách đây
mục cha
commit
37b91adfec
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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")
 	}
 }