diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-11-29 16:22:08 -0200 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-11-29 20:39:19 -0200 | 
| commit | 3c5b5220f72fea3a3d0f47b7ca7cc282bd5dc1ce (patch) | |
| tree | ec9ff019cf6ca7030c6268369d6ec7414f32ea6a /ldpd/ldpd.h | |
| parent | 69df82f3b5d3aa343c769f280fb811ce019601d4 (diff) | |
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 'ldpd/ldpd.h')
| -rw-r--r-- | ldpd/ldpd.h | 1 | 
1 files changed, 1 insertions, 0 deletions
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;  | 
