]> git.puffer.fish Git - mirror/frr.git/commitdiff
2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
authorajs <ajs>
Wed, 15 Dec 2004 14:55:51 +0000 (14:55 +0000)
committerajs <ajs>
Wed, 15 Dec 2004 14:55:51 +0000 (14:55 +0000)
* ripd.c: (rip_read) Improve 2 error messages to show the source of
  the packet when the lookup fails.

ripd/ChangeLog
ripd/ripd.c

index d1dab049b24be608a1dec5f34d9a320f74ab5485..9d566119b07a59734015b03dbac2d542f17980ef 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 01e669f45fb742c45e791852ac768d1af82cfa98..0407065832bb10de6e243203de34734132c3010e 100644 (file)
@@ -1725,7 +1725,8 @@ rip_read (struct thread *t)
   /* 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;
     }
   
@@ -1733,7 +1734,9 @@ rip_read (struct thread *t)
   
   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;
     }