summaryrefslogtreecommitdiff
path: root/zebra/zebra_rnh.h
diff options
context:
space:
mode:
authorKaren Schoener <karen@volta.io>2020-05-27 12:10:30 -0400
committerKaren Schoener <karen@volta.io>2020-06-03 09:40:23 -0400
commit1fddcd0a9b05258475a8ad6e106f59887a989044 (patch)
tree255936d00095e656096f35b335e485b6ef2bda8d /zebra/zebra_rnh.h
parentc0b664a18777e1c8ca819a30e7ab873b3947cc65 (diff)
zebra: Every time zebra receives a ZEBRA_PW_SET, zebra should evaluate nh
Every time zebra receives a ZEBRA_PW_SET, zebra should call zebra_evaluate_rnh. This fixes a race condition where zebra sometimes fails to install a pseudowire that is 'up', and has a reachable next hop. Signed-off-by: Karen Schoener <karen@voltanet.io>
Diffstat (limited to 'zebra/zebra_rnh.h')
-rw-r--r--zebra/zebra_rnh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rnh.h b/zebra/zebra_rnh.h
index f07e5bc791..e744504920 100644
--- a/zebra/zebra_rnh.h
+++ b/zebra/zebra_rnh.h
@@ -50,7 +50,7 @@ extern struct rnh *zebra_lookup_rnh(struct prefix *p, vrf_id_t vrfid,
extern void zebra_free_rnh(struct rnh *rnh);
extern void zebra_add_rnh_client(struct rnh *rnh, struct zserv *client,
enum rnh_type type, vrf_id_t vrfid);
-extern void zebra_register_rnh_pseudowire(vrf_id_t, struct zebra_pw *);
+extern void zebra_register_rnh_pseudowire(vrf_id_t, struct zebra_pw *, bool *);
extern void zebra_deregister_rnh_pseudowire(vrf_id_t, struct zebra_pw *);
extern void zebra_remove_rnh_client(struct rnh *rnh, struct zserv *client,
enum rnh_type type);