diff options
author | Sander Vrijders <[email protected]> | 2016-07-28 17:23:42 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2016-08-01 11:12:14 +0200 |
commit | cf719963be2e42026012e152ae49f4c764dd9b4f (patch) | |
tree | 102b5d165aa246fa601cd565646db2ddb7e6d0b0 /src/ipcpd/normal/frct.c | |
parent | 0fdc2c081b63cc3ca38bd97703c113245075aa18 (diff) | |
download | ouroboros-cf719963be2e42026012e152ae49f4c764dd9b4f.tar.gz ouroboros-cf719963be2e42026012e152ae49f4c764dd9b4f.zip |
ipcpd: normal: Allow initiating enrollment
This will add more functionality for enrolling two normal IPCPs with
each other. Some bugs were fixed in CDAP. Now on enrolling, an IPCP
will send a START message to the other IPCP. Next step is syncing the
RIBs.
Diffstat (limited to 'src/ipcpd/normal/frct.c')
-rw-r--r-- | src/ipcpd/normal/frct.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ipcpd/normal/frct.c b/src/ipcpd/normal/frct.c index 49006276..ba465540 100644 --- a/src/ipcpd/normal/frct.c +++ b/src/ipcpd/normal/frct.c @@ -29,12 +29,10 @@ #include "frct.h" struct frct_i { - }; struct frct { struct dt_const * dtc; - } * frct = NULL; int frct_init(struct dt_const * dtc) @@ -43,9 +41,8 @@ int frct_init(struct dt_const * dtc) return -1; frct = malloc(sizeof(*frct)); - if (frct == NULL) { + if (frct == NULL) return -1; - } frct->dtc = dtc; |