Improve logging

This commit is contained in:
Jeremy Lakeman 2012-08-14 16:31:29 +09:30
parent 58457a703d
commit 60a82eb251

View File

@ -279,7 +279,8 @@ void overlay_interface_read_any(struct sched_ent *alarm){
/* Should we drop the packet if we don't find a match? */
if (!interface){
INFO("Could not find matching interface for received packet");
if (debug&DEBUG_OVERLAYINTERFACES)
DEBUGF("Could not find matching interface for packet received from %s", inet_ntoa(src));
return;
}