mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 09:22:42 +08:00
removed annoying log
This commit is contained in:
1
main.go
1
main.go
@@ -111,7 +111,6 @@ func initialize() { // Client Mode Prereq Check
|
|||||||
if servercfg.ManageIPTables() != "off" {
|
if servercfg.ManageIPTables() != "off" {
|
||||||
if err = serverctl.InitIPTables(); err != nil {
|
if err = serverctl.InitIPTables(); err != nil {
|
||||||
logger.FatalLog("Unable to initialize iptables on host:", err.Error())
|
logger.FatalLog("Unable to initialize iptables on host:", err.Error())
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -84,7 +84,6 @@ func setForwardPolicy() error {
|
|||||||
|
|
||||||
// port forward from an entry, can contain a dns name for lookup
|
// port forward from an entry, can contain a dns name for lookup
|
||||||
func iptablesPortForward(entry string, inport string, outport string, isIP bool) error {
|
func iptablesPortForward(entry string, inport string, outport string, isIP bool) error {
|
||||||
logger.Log(2, "forwarding "+entry+" traffic from host port "+inport+" to container port "+outport)
|
|
||||||
|
|
||||||
var address string
|
var address string
|
||||||
if !isIP {
|
if !isIP {
|
||||||
|
Reference in New Issue
Block a user