summaryrefslogtreecommitdiff
path: root/zebra/zebra_pw.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-06-30 12:26:04 -0300
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-09 12:35:15 +0200
commit731a75fef1a5dbae813b02aa795d386ec2106428 (patch)
tree25602223ba1e029153e5eb0ed7f34fe464f9da1b /zebra/zebra_pw.h
parent6833ae01bc8cb0c15579d7098f2d525a6e36c8bb (diff)
zebra: add nexthop tracking for pseudowires
If the remote end of a pseudowire becomes unreachable (no route or an unlabeled route), then it must be uninstalled. In the same way, when the remote end becomes reachable, the pseudowire must be installed. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_pw.h')
-rw-r--r--zebra/zebra_pw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_pw.h b/zebra/zebra_pw.h
index 62f45db5cd..382eaeaa4f 100644
--- a/zebra/zebra_pw.h
+++ b/zebra/zebra_pw.h
@@ -43,6 +43,7 @@ struct zebra_pw {
int status;
uint8_t protocol;
struct zserv *client;
+ struct rnh *rnh;
struct thread *install_retry_timer;
};