summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/neighbor.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2017-03-04 00:15:36 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2017-03-04 00:15:36 +0000
commit72beaa9cac8bdc9b7c6e7477aac41b109241ca8e (patch)
tree842bdc535bdba7d15d4f5b72a37108c447e7249a /usr.sbin/ldpd/neighbor.c
parent0912c01ade1880e8a02f8c81ab21d922fede2fed (diff)
Implement RFC 5919 (LDP End-of-LIB).
Diffstat (limited to 'usr.sbin/ldpd/neighbor.c')
-rw-r--r--usr.sbin/ldpd/neighbor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/neighbor.c b/usr.sbin/ldpd/neighbor.c
index 361cf5660e2..37d7260fcfb 100644
--- a/usr.sbin/ldpd/neighbor.c
+++ b/usr.sbin/ldpd/neighbor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: neighbor.c,v 1.78 2016/09/03 16:07:08 renato Exp $ */
+/* $OpenBSD: neighbor.c,v 1.79 2017/03/04 00:15:35 renato Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
@@ -740,6 +740,7 @@ nbr_act_session_operational(struct nbr *nbr)
lde_nbr.id = nbr->id;
lde_nbr.v4_enabled = nbr->v4_enabled;
lde_nbr.v6_enabled = nbr->v6_enabled;
+ lde_nbr.flags = nbr->flags;
return (ldpe_imsg_compose_lde(IMSG_NEIGHBOR_UP, nbr->peerid, 0,
&lde_nbr, sizeof(lde_nbr)));
}