Skip to content

Commit

Permalink
unknown udp packets should be logged in debug mode only
Browse files Browse the repository at this point in the history
  • Loading branch information
HarpyWar committed Mar 1, 2014
1 parent 3426270 commit c39f9f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bnetd/handle_udp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ namespace pvpgn
}

default:
eventlog(eventlog_level_error, __FUNCTION__, "[%d] got unknown udp packet type 0x%04x, len %u from %s", usock, (unsigned int)packet_get_type(packet), packet_get_size(packet), addr_num_to_addr_str(src_addr, src_port));
eventlog(eventlog_level_debug, __FUNCTION__, "[%d] got unknown udp packet type 0x%04x, len %u from %s", usock, (unsigned int)packet_get_type(packet), packet_get_size(packet), addr_num_to_addr_str(src_addr, src_port));
}

return 0;
Expand Down

0 comments on commit c39f9f0

Please sign in to comment.