diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-08-09 21:04:23 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-22 02:26:06 +0100 |
commit | 05b0d0d0ecadcf030ae8fdffc2e78ab6392fc500 (patch) | |
tree | 4711e67edc0d529313d4e18fd87f0d64c84b81ff /pimd/pim_zlookup.h | |
parent | pimd: Remove some impossible error conditions. (diff) | |
download | frr-05b0d0d0ecadcf030ae8fdffc2e78ab6392fc500.tar.xz frr-05b0d0d0ecadcf030ae8fdffc2e78ab6392fc500.zip |
pimd: Properly isolate zlookup
The qpim_zclient_lookup was a global variable.
This is not needed. Isolate appropriately
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_zlookup.h')
-rw-r--r-- | pimd/pim_zlookup.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pimd/pim_zlookup.h b/pimd/pim_zlookup.h index b32dfe2b7..d92eb089b 100644 --- a/pimd/pim_zlookup.h +++ b/pimd/pim_zlookup.h @@ -35,12 +35,13 @@ struct pim_zlookup_nexthop { uint8_t protocol_distance; }; -struct zclient *zclient_lookup_new(void); +void zclient_lookup_new (void); -int zclient_lookup_nexthop(struct zclient *zlookup, - struct pim_zlookup_nexthop nexthop_tab[], +int zclient_lookup_nexthop(struct pim_zlookup_nexthop nexthop_tab[], const int tab_size, struct in_addr addr, int max_lookup); +void pim_zlookup_show_ip_multicast (struct vty *vty); + #endif /* PIM_ZLOOKUP_H */ |