]> git.proxmox.com Git - mirror_frr.git/commit
ospf6d: fix two "show" commands
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 19 Oct 2018 18:55:41 +0000 (15:55 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 20 Oct 2018 15:39:05 +0000 (12:39 -0300)
commit25ee05c93879487a9a6cd1d604b42ba2c71ee1f8
tree0b33c7a5d7c149653e08424afa10e90a55d74d39
parent4cfecc3ea9dd2c4d3d5f5d4a17971f9cc826e14c
ospf6d: fix two "show" commands

The "show ipv6 ospf6 interface [IFNAME] prefix" command shouldn't accept
the "match" keyword when a prefix is not given, otherwise ospf6d will
crash.

Fixes the following crashes:
ospf6d aborted: vtysh  -c "show ipv6 ospf6 interface eth99 prefix match"
ospf6d aborted: vtysh  -c "show ipv6 ospf6 interface prefix match"

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ospf6d/ospf6_interface.c