diff options
author | 2016-05-23 16:50:11 +0000 | |
---|---|---|
committer | 2016-05-23 16:50:11 +0000 | |
commit | cc5b73a71f48b8868a08bf6629f3097e09aaa058 (patch) | |
tree | f59afb2f93dffb13376d46704444a5de98904d1c | |
parent | Fix warnings when compiling with -pedantic. (diff) | |
download | wireguard-openbsd-cc5b73a71f48b8868a08bf6629f3097e09aaa058.tar.xz wireguard-openbsd-cc5b73a71f48b8868a08bf6629f3097e09aaa058.zip |
Remove protection that was prevent pseudowires to be updated in the kernel.
During the setup of a pseudowire, it might change its parameters
(e.g. control-word) once the negotiation with the remote peer is done.
-rw-r--r-- | usr.sbin/ldpd/lde.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ldpd/lde.c b/usr.sbin/ldpd/lde.c index 07b1474741b..6ecc248b0fb 100644 --- a/usr.sbin/ldpd/lde.c +++ b/usr.sbin/ldpd/lde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lde.c,v 1.46 2016/05/23 16:43:57 renato Exp $ */ +/* $OpenBSD: lde.c,v 1.47 2016/05/23 16:50:11 renato Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org> @@ -576,8 +576,6 @@ lde_send_change_klabel(struct fec_node *fn, struct fec_nh *fnh) return; pw = (struct l2vpn_pw *) fnh->data; - if (pw->flags & F_PW_STATUS_UP) - return; pw->flags |= F_PW_STATUS_UP; bzero(&kpw, sizeof(kpw)); |