Skip to content

Commit

Permalink
port: net: move the rest of the IP logging to log only
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed Jan 8, 2024
1 parent 4b30f52 commit 31d8aae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions port/src/net/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand All @@ -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);
Expand Down

0 comments on commit 31d8aae

Please sign in to comment.