]> git.proxmox.com Git - mirror_frr.git/commit - tests/topotests/all_protocol_startup/test_all_protocol_startup.py
zebra, tests: Fix `show ip nht`
authorDonald Sharp <sharpd@nvidia.com>
Tue, 8 Dec 2020 20:50:46 +0000 (15:50 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 8 Dec 2020 20:50:46 +0000 (15:50 -0500)
commitdda33b6e0cafe301ffb98859c4e037d2605def09
treecea051bf3ff528765b49e3253cf6977f85ed5253
parent08b17099f21055a15be6fc956509c474e86603d6
zebra, tests: Fix `show ip nht`

The `show ip nht` and `show ipv6 nht` commands were broken.
This is because recent code commit: 0154d8ce45a5099d2d0b9dd3de4e

assumed that p must not be NULL and this is not the case.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/all-protocol-startup/r1/ip_nht.ref [new file with mode: 0644]
tests/topotests/all-protocol-startup/r1/ipv6_nht.ref [new file with mode: 0644]
tests/topotests/all-protocol-startup/test_all_protocol_startup.py
zebra/zebra_vty.c