diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2017-02-16 19:22:50 +0100 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2017-02-17 10:53:43 +0100 |
commit | 645cf66af11ac36b81648f2e1eb3b1f5aeb7b544 (patch) | |
tree | c5e4af02e99a098dd123509cc67bfeb6efb6d69c /src/ipcpd/normal/shm_pci.c | |
parent | 8cb5218438feaf455a297915d037675e3c3eea21 (diff) | |
download | ouroboros-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/shm_pci.c')
-rw-r--r-- | src/ipcpd/normal/shm_pci.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ipcpd/normal/shm_pci.c b/src/ipcpd/normal/shm_pci.c index 1c2cee54..0807a24f 100644 --- a/src/ipcpd/normal/shm_pci.c +++ b/src/ipcpd/normal/shm_pci.c @@ -25,8 +25,9 @@ #include <ouroboros/crc32.h> #include <ouroboros/rib.h> -#include "shm_pci.h" #include "dt_const.h" +#include "shm_pci.h" +#include "ribconfig.h" #include <stdlib.h> #include <string.h> @@ -38,8 +39,6 @@ #define TTL_SIZE 1 #define CHK_SIZE 4 -#define BOOT_PATH "/" BOOT_NAME - struct { struct dt_const dtc; size_t head_size; |