summaryrefslogtreecommitdiff
path: root/ldpd/neighbor.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-03-17 20:55:42 -0300
committerRenato Westphal <renato@opensourcerouting.org>2017-03-20 21:42:14 -0300
commit99cfc17f76c5a87ea51bd6a4682f37abae9aba25 (patch)
tree4c698eb532da07dd05322da57ef2f2514e9eb866 /ldpd/neighbor.c
parentbc0eb287fa07b139b6f193c3dc4f033eddda6833 (diff)
ldpd: add commands to show sent/rcvd capabilities
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ldpd/neighbor.c')
-rw-r--r--ldpd/neighbor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldpd/neighbor.c b/ldpd/neighbor.c
index 077d472850..172468256a 100644
--- a/ldpd/neighbor.c
+++ b/ldpd/neighbor.c
@@ -810,6 +810,7 @@ nbr_to_ctl(struct nbr *nbr)
nctl.rport = nbr->tcp->rport;
nctl.holdtime = nbr->keepalive;
nctl.nbr_state = nbr->state;
+ nctl.flags = nbr->flags;
gettimeofday(&now, NULL);
if (nbr->state == NBR_STA_OPER) {