diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2019-05-06 20:55:46 +0200 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2019-05-07 03:58:16 +0200 |
commit | 9826647ef960366e2daef246a59df4e20de4c8cb (patch) | |
tree | 7147a4b7d65f8611600c180df56c004f8071b5f7 /isisd/isis_tlvs.c | |
parent | Merge pull request #4264 from pguibert6WIND/trace_bfd (diff) | |
download | frr-9826647ef960366e2daef246a59df4e20de4c8cb.tar.xz frr-9826647ef960366e2daef246a59df4e20de4c8cb.zip |
isisd: fix display of the Extended IPv4 reachability TLV
The Sub-TLVs of the Extended IPv4 reachability TLV were not being
displayed as expected. Fix this.
Suggested-by: Christian Franke chris@opensourcerouting.org
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_tlvs.c')
-rw-r--r-- | isisd/isis_tlvs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/isisd/isis_tlvs.c b/isisd/isis_tlvs.c index bc9b51473..f72540b81 100644 --- a/isisd/isis_tlvs.c +++ b/isisd/isis_tlvs.c @@ -1272,6 +1272,11 @@ static void format_item_extended_ip_reach(uint16_t mtid, struct isis_item *i, if (mtid != ISIS_MT_IPV4_UNICAST) sbuf_push(buf, 0, " %s", isis_mtid2str(mtid)); sbuf_push(buf, 0, "\n"); + + if (r->subtlvs) { + sbuf_push(buf, indent, " Subtlvs:\n"); + format_subtlvs(r->subtlvs, buf, indent + 4); + } } static void free_item_extended_ip_reach(struct isis_item *i) |