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/enroll.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/ipcpd/normal/enroll.c') diff --git a/src/ipcpd/normal/enroll.c b/src/ipcpd/normal/enroll.c index a0d28598..bc5d2a20 100644 --- a/src/ipcpd/normal/enroll.c +++ b/src/ipcpd/normal/enroll.c @@ -29,6 +29,7 @@ #include #include "ae.h" +#include "ribconfig.h" #include #include @@ -36,14 +37,9 @@ /* Symbolic, will return current time */ #define TIME_NAME "localtime" +#define TIME_PATH DLR TIME_NAME #define ENROLL_WARN_TIME_OFFSET 20 -#define DLR "/" -#define DIF_PATH DLR DIF_NAME -#define BOOT_PATH DLR BOOT_NAME -#define MEMBERS_PATH DLR MEMBERS_NAME -#define TIME_PATH DLR TIME_NAME - int enroll_handle(int fd) { struct cdap * ci; -- cgit v1.2.3