summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_pw.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-06-30 17:26:04 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-09 12:35:15 +0200
commit731a75fef1a5dbae813b02aa795d386ec2106428 (patch)
tree25602223ba1e029153e5eb0ed7f34fe464f9da1b /zebra/zebra_pw.h
parentzebra: add pseudowire manager (diff)
downloadfrr-731a75fef1a5dbae813b02aa795d386ec2106428.tar.xz
frr-731a75fef1a5dbae813b02aa795d386ec2106428.zip
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 62f45db5c..382eaeaa4 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;
};