diff --git a/netclient/functions/mqhandlers.go b/netclient/functions/mqhandlers.go index 2d9aae77..e0948342 100644 --- a/netclient/functions/mqhandlers.go +++ b/netclient/functions/mqhandlers.go @@ -162,7 +162,7 @@ func NodeUpdate(client mqtt.Client, msg mqtt.Message) { } //deal with DNS if newNode.DNSOn != "yes" && shouldDNSChange && nodeCfg.Node.Interface != "" { - logger.Log(0, "Network: ", nodeCfg.Node > network, " settng DNS off") + logger.Log(0, "Network: ", nodeCfg.Node.Network, " settng DNS off") if err := removeHostDNS(nodeCfg.Node.Interface, ncutils.IsWindows()); err != nil { logger.Log(0, "Network: ", nodeCfg.Node.Network, " error removing netmaker profile from /etc/hosts "+err.Error()) }