summaryrefslogtreecommitdiff
path: root/bgpd/bgp_nht.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-11-29 12:09:45 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2023-11-20 11:28:35 +0100
commit409a693165f039ad9b5b6b08443ab4147715f1cd (patch)
treec87274a1cba7fc0268f0b5141e64842c6b825a26 /bgpd/bgp_nht.h
parentf115dc588954ed57c5e27c25fb6cd373f337c2a7 (diff)
bgpd: use `zclient->nexthop_update`
Same as before. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_nht.h')
-rw-r--r--bgpd/bgp_nht.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/bgpd/bgp_nht.h b/bgpd/bgp_nht.h
index 0758a0cf08..b9f0f6d469 100644
--- a/bgpd/bgp_nht.h
+++ b/bgpd/bgp_nht.h
@@ -7,9 +7,10 @@
#define _BGP_NHT_H
/**
- * bgp_parse_nexthop_update() - parse a nexthop update message from Zebra.
+ * bgp_nexthop_update() - process a nexthop update message from Zebra.
*/
-extern void bgp_parse_nexthop_update(int command, vrf_id_t vrf_id);
+extern void bgp_nexthop_update(struct vrf *vrf, struct prefix *match,
+ struct zapi_route *nhr);
/**
* bgp_find_or_add_nexthop() - lookup the nexthop cache table for the bnc