mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-26 17:15:23 +08:00
removed annoying log
This commit is contained in:
parent
9b7631e6dc
commit
22a06005f0
2 changed files with 0 additions and 2 deletions
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 {
|
||||||
|
|
Loading…
Reference in a new issue