From 3c5b5220f72fea3a3d0f47b7ca7cc282bd5dc1ce Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Wed, 29 Nov 2017 16:22:08 -0200 Subject: zebra, ldpd: fix display of pseudowire status MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Renato Westphal --- ldpd/ldpd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ldpd/ldpd.h') diff --git a/ldpd/ldpd.h b/ldpd/ldpd.h index 5580ea5d67..4824f1720b 100644 --- a/ldpd/ldpd.h +++ b/ldpd/ldpd.h @@ -409,6 +409,7 @@ struct l2vpn_pw { uint32_t pwid; char ifname[IF_NAMESIZE]; unsigned int ifindex; + bool enabled; uint32_t remote_group; uint16_t remote_mtu; uint32_t local_status; -- cgit v1.2.3