+2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+ * ripd.c: (rip_read) Improve 2 error messages to show the source of
+ the packet when the lookup fails.
+
2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* *.c: Change level of debug messages to LOG_DEBUG.
/* If this packet come from unknown interface, ignore it. */
if (ifp == NULL)
{
- zlog_info ("rip_read: packet comes from unknown interface");
+ zlog_info ("rip_read: cannot find interface for packet from %s port %d",
+ inet_ntoa(from.sin_addr), ntohs (from.sin_port));
return -1;
}
if (ifc == NULL)
{
- zlog_info ("rip_read: packet comes from unknown network");
+ zlog_info ("rip_read: cannot find connected address for packet from %s "
+ "port %d on interface %s",
+ inet_ntoa(from.sin_addr), ntohs (from.sin_port), ifp->name);
return -1;
}