From: Dinesh Dutt Date: Sat, 24 Aug 2013 07:54:41 +0000 (+0000) Subject: ospf6d: add more details to show ipv6 ospf6 data X-Git-Tag: frr-2.0-rc1~1628^2~25 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=8ae454e779d5620576990f4bf5da3a35f913cc4d;p=mirror%2Ffrr.git ospf6d: add more details to show ipv6 ospf6 data Specifically, it displays the flags, lock and retransmission count fields. Signed-off-by: Dinesh G Dutt Reviewed-by: JR Rivers Reviewed-by: Scott Feldman Signed-off-by: David Lamparter --- diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c index 3be08ef613..64f929d92b 100644 --- a/ospf6d/ospf6_lsa.c +++ b/ospf6d/ospf6_lsa.c @@ -452,6 +452,11 @@ ospf6_lsa_show_internal (struct vty *vty, struct ospf6_lsa *lsa) ntohs (lsa->header->length), VNL); vty_out (vty, " Prev: %p This: %p Next: %p%s", lsa->prev, lsa, lsa->next, VNL); + vty_out (vty, "Flag: %x %s", lsa->flag, VNL); + vty_out (vty, "Lock: %d %s", lsa->lock, VNL); + vty_out (vty, "ReTx Count: %d%s", lsa->retrans_count, VNL); + vty_out (vty, "Threads: Expire: %x, Refresh: %x %s", + lsa->expire, lsa->refresh, VNL); vty_out (vty, "%s", VNL); return; }