summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/main.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-07-14 19:47:02 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-07-14 19:47:02 +0200
commit71956f22abec7bb15f6bfc52b4168ff85499eea1 (patch)
tree36340fda47cd84ada6fb1357c1c5c0677289f0e3 /src/ipcpd/normal/main.c
parent7ca7525221375996383951d90bbdca4ad995f965 (diff)
parentd17c8a4924e0417d5385f933da1bcc75aad9b818 (diff)
downloadouroboros-71956f22abec7bb15f6bfc52b4168ff85499eea1.tar.gz
ouroboros-71956f22abec7bb15f6bfc52b4168ff85499eea1.zip
Merged in sandervrijders/ouroboros/be (pull request #172)
ipcpd: normal: Establish N-1 management flows
Diffstat (limited to 'src/ipcpd/normal/main.c')
-rw-r--r--src/ipcpd/normal/main.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/ipcpd/normal/main.c b/src/ipcpd/normal/main.c
index 7ffd1c48..3433b116 100644
--- a/src/ipcpd/normal/main.c
+++ b/src/ipcpd/normal/main.c
@@ -1,11 +1,21 @@
-#define OUROBOROS_PREFIX "ipcp"
+#define OUROBOROS_PREFIX "normal-ipcp"
#include <ouroboros/logs.h>
#include <stdbool.h>
+#include "fmgr.h"
+#include "ribmgr.h"
+
int main()
{
- LOG_DBG("Test of the IPCP");
+ if (fmgr_init()) {
+ return -1;
+ }
+
+ if (ribmgr_init()) {
+ fmgr_fini();
+ return -1;
+ }
while (true) {