diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-04-04 20:28:31 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-04-05 17:34:22 +0200 |
commit | dbeca4841bd4453f0d5e993e51d02d29d4e1f0d4 (patch) | |
tree | dc8014737a4a0de38a896b2b9b99cd0febf98cc3 /zebra/zebra_rnh.h | |
parent | Merge pull request #4093 from mjstapp/fix_vrf_sched_flag (diff) | |
download | frr-dbeca4841bd4453f0d5e993e51d02d29d4e1f0d4.tar.xz frr-dbeca4841bd4453f0d5e993e51d02d29d4e1f0d4.zip |
zebra: Allow specification of v[4|6] addrs on some commands
The `show ipv[4|6] <nht|import-check> ...` commands are starting
to produce a bunch of output due to multiple daemons now
using the code. Allow the specification of a v4 or v6 address
to allow the show command to only display the interesting nht.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_rnh.h')
-rw-r--r-- | zebra/zebra_rnh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rnh.h b/zebra/zebra_rnh.h index 7d823c7ac..9cd9116ee 100644 --- a/zebra/zebra_rnh.h +++ b/zebra/zebra_rnh.h @@ -91,7 +91,7 @@ extern void zebra_remove_rnh_client(struct rnh *rnh, struct zserv *client, extern void zebra_evaluate_rnh(struct zebra_vrf *zvrf, afi_t afi, int force, rnh_type_t type, struct prefix *p); extern void zebra_print_rnh_table(vrf_id_t vrfid, afi_t afi, struct vty *vty, - rnh_type_t); + rnh_type_t type, struct prefix *p); extern char *rnh_str(struct rnh *rnh, char *buf, int size); #ifdef __cplusplus |