summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/control.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2013-06-04 02:25:29 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2013-06-04 02:25:29 +0000
commit17f9e24721cd9df2db09e11be6f5688d58e39d03 (patch)
tree3a4c083152650d41bf0ae7ed542a0ae9c2b8f1ba /usr.sbin/ldpd/control.c
parent40fb3cd661f5df19d037921819389f690972e60d (diff)
Implement support for adjacencies and targeted hellos
Refactor adjacencies out of the neighbor handling so that it is possible to have more complex topologies with targeted sessions. From Renato Westphal
Diffstat (limited to 'usr.sbin/ldpd/control.c')
-rw-r--r--usr.sbin/ldpd/control.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/control.c b/usr.sbin/ldpd/control.c
index 7b6aa47dcea..5da5b4d4c70 100644
--- a/usr.sbin/ldpd/control.c
+++ b/usr.sbin/ldpd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.11 2013/03/11 17:40:11 deraadt Exp $ */
+/* $OpenBSD: control.c,v 1.12 2013/06/04 02:25:28 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -248,6 +248,9 @@ control_dispatch_imsg(int fd, short event, void *bula)
0, -1, NULL, 0);
}
break;
+ case IMSG_CTL_SHOW_DISCOVERY:
+ ldpe_adj_ctl(c);
+ break;
case IMSG_CTL_SHOW_LIB:
c->iev.ibuf.pid = imsg.hdr.pid;
ldpe_imsg_compose_lde(imsg.hdr.type, 0, imsg.hdr.pid,