diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2017-11-29 19:22:08 +0100 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2017-11-29 23:39:19 +0100 |
commit | 3c5b5220f72fea3a3d0f47b7ca7cc282bd5dc1ce (patch) | |
tree | ec9ff019cf6ca7030c6268369d6ec7414f32ea6a /zebra/zebra_pw.c | |
parent | Merge pull request #1493 from donaldsharp/plist_stuff (diff) | |
download | frr-3c5b5220f72fea3a3d0f47b7ca7cc282bd5dc1ce.tar.xz frr-3c5b5220f72fea3a3d0f47b7ca7cc282bd5dc1ce.zip |
zebra, ldpd: fix display of pseudowire status
In some circumstances zebra and ldpd would display a pseudowire as UP
when in reality it's not (example: MTU mismatch between the two ends). Fix
this to avoid confusion.
Reported-by: ßingen <bingen@voltanet.io>
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_pw.c')
-rw-r--r-- | zebra/zebra_pw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_pw.c b/zebra/zebra_pw.c index d3492fb41..bbd01a759 100644 --- a/zebra/zebra_pw.c +++ b/zebra/zebra_pw.c @@ -73,7 +73,7 @@ struct zebra_pw *zebra_pw_add(struct zebra_vrf *zvrf, const char *ifname, pw->protocol = protocol; pw->vrf_id = zvrf_id(zvrf); pw->client = client; - pw->status = PW_STATUS_UP; + pw->status = PW_STATUS_DOWN; pw->local_label = MPLS_NO_LABEL; pw->remote_label = MPLS_NO_LABEL; pw->flags = F_PSEUDOWIRE_CWORD; |