summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_lsa.c
diff options
context:
space:
mode:
authorDinesh Dutt <ddutt@cumulusnetworks.com>2013-08-24 09:54:41 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2013-11-08 03:15:42 +0100
commit8ae454e779d5620576990f4bf5da3a35f913cc4d (patch)
treecbfb907e0aeef1d5b3076629c8e8d510bb326068 /ospf6d/ospf6_lsa.c
parentospf6d: enable the commands to support detailed debugging of LSAs. (diff)
downloadfrr-8ae454e779d5620576990f4bf5da3a35f913cc4d.tar.xz
frr-8ae454e779d5620576990f4bf5da3a35f913cc4d.zip
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 <ddutt at cumulusnetworks.com> Reviewed-by: JR Rivers <jrrivers at cumulusnetworks.com> Reviewed-by: Scott Feldman <sfeldma at cumulusnetworks.com> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_lsa.c')
-rw-r--r--ospf6d/ospf6_lsa.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c
index 3be08ef61..64f929d92 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;
}