summaryrefslogtreecommitdiffstats
path: root/pimd/pim_zlookup.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetwroks.com>2016-09-02 16:56:29 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-22 02:26:08 +0100
commitba634917bde686ae908f8b59b407d23d4c88c99f (patch)
tree8640ba9eb1b5fe5972f09a4aa0536256b91cd69d /pimd/pim_zlookup.h
parentpimd: Add pim_addr_dump to facilitate v4 and v6 address dumping (diff)
downloadfrr-ba634917bde686ae908f8b59b407d23d4c88c99f.tar.xz
frr-ba634917bde686ae908f8b59b407d23d4c88c99f.zip
pimd: Switch 'struct in_addr' to 'struct prefix' in pim_zlookup.h
This is setup code to allow us to receive v6 addresses from a nexthop lookup from zebra. This will allow us to work with unnumbered interfaces. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_zlookup.h')
-rw-r--r--pimd/pim_zlookup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_zlookup.h b/pimd/pim_zlookup.h
index 4dea5750c..ce85c8eba 100644
--- a/pimd/pim_zlookup.h
+++ b/pimd/pim_zlookup.h
@@ -29,7 +29,7 @@
#define PIM_NEXTHOP_LOOKUP_MAX (3) /* max. recursive route lookup */
struct pim_zlookup_nexthop {
- struct in_addr nexthop_addr;
+ struct prefix nexthop_addr;
ifindex_t ifindex;
uint32_t route_metric;
uint8_t protocol_distance;