summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/ldpe.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2016-06-13 23:01:38 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2016-06-13 23:01:38 +0000
commitaf679c1db978876131a39dc7e81e16cda681d46e (patch)
tree955c4d022b423e871583d11f019ca1b9e92fc302 /usr.sbin/ldpd/ldpe.c
parent4f19f299b2a7a17778e0c21facd68eac7bab5071 (diff)
Implement support for the Configuration Sequence Number TLV.
The Configuration Sequence Number optional TLV is documented in RFC 5036, pages 53 and 54. Fixes IxANVL LDP test 23.10.
Diffstat (limited to 'usr.sbin/ldpd/ldpe.c')
-rw-r--r--usr.sbin/ldpd/ldpe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/ldpe.c b/usr.sbin/ldpd/ldpe.c
index 50b051d277f..51fe0b9b864 100644
--- a/usr.sbin/ldpd/ldpe.c
+++ b/usr.sbin/ldpd/ldpe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldpe.c,v 1.65 2016/06/13 20:15:58 renato Exp $ */
+/* $OpenBSD: ldpe.c,v 1.66 2016/06/13 23:01:37 renato Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
@@ -438,6 +438,7 @@ ldpe_dispatch_main(int fd, short event, void *bula)
case IMSG_RECONF_END:
merge_config(leconf, nconf);
nconf = NULL;
+ global.conf_seqnum++;
break;
case IMSG_CTL_KROUTE:
case IMSG_CTL_KROUTE_ADDR: