port: net: move the rest of the IP logging to log only

This commit is contained in:
fgsfds committed 2024-01-08 12:31:42 +01:00
1 parent 4b30f52b32
commit 31d8aae704
1 file changed
+2 -2
+2 -2
View File
@@ -745,7 +745,7 @@ void netStartFrame(void)
if (cl) {
netServerEvDisconnect(cl);
} else {
sysLogPrintf(LOG_WARNING, "NET: disconnect from %s without attached client", netFormatPeerAddr(ev.peer));
sysLogPrintf(LOG_WARNING | LOGFLAG_NOCON, "NET: disconnect from %s without attached client", netFormatPeerAddr(ev.peer));
--g_NetNumClients;
}
}
@@ -764,7 +764,7 @@ void netStartFrame(void)
netbufReset(&cl->in);
}
} else if (!isClient) {
sysLogPrintf(LOG_WARNING, "NET: receive from %s without attached client", netFormatPeerAddr(ev.peer));
sysLogPrintf(LOG_WARNING | LOGFLAG_NOCON, "NET: receive from %s without attached client", netFormatPeerAddr(ev.peer));
}
}
enet_packet_dispose(ev.packet);