summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/ribmgr.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-04-20 16:52:23 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-04-20 17:07:51 +0200
commitb3f13ce940382cf449a244b2ff65dbf36ce2fe4b (patch)
treea5a856f89fca7cf7074dc5427c8f8c08f62155bb /src/ipcpd/normal/ribmgr.c
parent2a802888e91a274fa49d341da7744ea9c386b150 (diff)
downloadouroboros-b3f13ce940382cf449a244b2ff65dbf36ce2fe4b.tar.gz
ouroboros-b3f13ce940382cf449a244b2ff65dbf36ce2fe4b.zip
ipcpd: Build complete graph with gam
The complete policy will now build a complete graph. Currently a simple timer is used to check the member list periodically.
Diffstat (limited to 'src/ipcpd/normal/ribmgr.c')
-rw-r--r--src/ipcpd/normal/ribmgr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ipcpd/normal/ribmgr.c b/src/ipcpd/normal/ribmgr.c
index 772269ae..266a628d 100644
--- a/src/ipcpd/normal/ribmgr.c
+++ b/src/ipcpd/normal/ribmgr.c
@@ -37,6 +37,7 @@
#include "gam.h"
#include "ribconfig.h"
#include "ribmgr.h"
+#include "ipcp.h"
#include <stdlib.h>
#include <pthread.h>
@@ -322,6 +323,8 @@ int ribmgr_init(void)
strcpy(info.protocol, CDAP_PROTO);
info.pref_version = 1;
info.pref_syntax = PROTO_GPB;
+ /* NOTE: Use the same name as the DT AE of this IPCP */
+ info.addr = ipcpi.dt_addr;
ribmgr.nbs = nbs_create();
if (ribmgr.nbs == NULL) {