From b3f13ce940382cf449a244b2ff65dbf36ce2fe4b Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Thu, 20 Apr 2017 16:52:23 +0200 Subject: 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. --- src/ipcpd/normal/ribmgr.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ipcpd/normal/ribmgr.c') 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 #include @@ -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) { -- cgit v1.2.3