From 4957f4946d1cc0469f7dd09685ab077f1f31f8f6 Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 27 Jun 2003 01:28:45 +0000 Subject: 2003-06-27 Paul Jakma * ospf_vty.c: (global) add, unused, description array for lsa flags. (show_ip_ospf_database_header): pretty print options, printf hex numbers as 0x, print lsa flags and note if it is a translated LSA. (show_lsa_detail_proc): print out OSPF_LSA_LOCAL_XLT LSAs. * ospf_packet.c: (ospf_write) print out destination IP in debug info if write fails. --- ospfd/ospf_packet.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ospfd/ospf_packet.c') diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c index 89d35c58..7bd48223 100644 --- a/ospfd/ospf_packet.c +++ b/ospfd/ospf_packet.c @@ -558,7 +558,8 @@ ospf_write (struct thread *thread) ret = sendmsg (ospf->fd, &msg, flags); if (ret < 0) - zlog_warn ("*** sendmsg in ospf_write failed with %s", strerror (errno)); + zlog_warn ("*** sendmsg in ospf_write to %s failed with %s", + inet_ntoa (iph.ip_dst), strerror (errno)); /* Retrieve OSPF packet type. */ stream_set_getp (op->s, 1); -- cgit v1.2.1