diff options
Diffstat (limited to 'src/ipcpd/normal/pol/flat.c')
-rw-r--r-- | src/ipcpd/normal/pol/flat.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ipcpd/normal/pol/flat.c b/src/ipcpd/normal/pol/flat.c index 0c4648c5..c52ebe38 100644 --- a/src/ipcpd/normal/pol/flat.c +++ b/src/ipcpd/normal/pol/flat.c @@ -30,6 +30,7 @@ #include <ouroboros/utils.h> #include "ipcp.h" +#include "flat.h" #include <time.h> #include <stdlib.h> @@ -46,6 +47,12 @@ struct { #define INVALID_ADDRESS 0 +struct pol_addr_auth_ops flat_ops = { + .init = flat_init, + .fini = flat_fini, + .address = flat_address +}; + int flat_init(const void * info) { flat.addr_size = *((uint8_t *) info); |