diff options
Diffstat (limited to 'net/quagga/files/patch-cvs-1-prefix_buf')
-rw-r--r-- | net/quagga/files/patch-cvs-1-prefix_buf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/quagga/files/patch-cvs-1-prefix_buf b/net/quagga/files/patch-cvs-1-prefix_buf new file mode 100644 index 000000000000..5ff9aaab74eb --- /dev/null +++ b/net/quagga/files/patch-cvs-1-prefix_buf @@ -0,0 +1,12 @@ +--- zebra/rt_socket.c 13 Aug 2007 16:03:07 -0000 1.13 ++++ zebra/rt_socket.c 12 Sep 2007 13:31:03 -0000 +@@ -207,6 +207,9 @@ + case ZEBRA_ERR_RTNOEXIST: + case ZEBRA_ERR_RTUNREACH: + default: ++ /* This point is reachable regardless of debugging mode. */ ++ if (!IS_ZEBRA_DEBUG_RIB) ++ inet_ntop (AF_INET, &p->u.prefix, prefix_buf, INET_ADDRSTRLEN); + zlog_err ("%s: %s/%d: rtm_write() unexpectedly returned %d for command %s", + __func__, prefix_buf, p->prefixlen, error, LOOKUP (rtm_type_str, cmd)); + break; |