From 645cf66af11ac36b81648f2e1eb3b1f5aeb7b544 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Thu, 16 Feb 2017 19:22:50 +0100 Subject: 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. --- src/ipcpd/normal/main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/ipcpd/normal/main.c') 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 @@ -49,11 +50,6 @@ #include #include -#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 { -- cgit v1.2.3