summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/main.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2017-02-16 19:22:50 +0100
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2017-02-17 10:53:43 +0100
commit645cf66af11ac36b81648f2e1eb3b1f5aeb7b544 (patch)
treec5e4af02e99a098dd123509cc67bfeb6efb6d69c /src/ipcpd/normal/main.c
parent8cb5218438feaf455a297915d037675e3c3eea21 (diff)
downloadouroboros-645cf66af11ac36b81648f2e1eb3b1f5aeb7b544.tar.gz
ouroboros-645cf66af11ac36b81648f2e1eb3b1f5aeb7b544.zip
ipcpd: Move RIB configuration to common header
Moves the definitions of paths in the RIB for the normal IPCP to a header ribconfig.h to avoid repetition.
Diffstat (limited to 'src/ipcpd/normal/main.c')
-rw-r--r--src/ipcpd/normal/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ipcpd/normal/main.c b/src/ipcpd/normal/main.c
index 11ec0938..e3955ff2 100644
--- a/src/ipcpd/normal/main.c
+++ b/src/ipcpd/normal/main.c
@@ -39,6 +39,7 @@
#include "fmgr.h"
#include "frct.h"
#include "ipcp.h"
+#include "ribconfig.h"
#include "ribmgr.h"
#include <stdbool.h>
@@ -49,11 +50,6 @@
#include <assert.h>
#include <inttypes.h>
-#define DLR "/"
-#define DIF_PATH DLR DIF_NAME
-#define BOOT_PATH DLR BOOT_NAME
-#define MEMBERS_PATH DLR MEMBERS_NAME
-
#define THIS_TYPE IPCP_NORMAL
struct {