summaryrefslogtreecommitdiff
path: root/trafgen_proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen_proto.c')
-rw-r--r--trafgen_proto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/trafgen_proto.c b/trafgen_proto.c
index 2c090b2..75556f9 100644
--- a/trafgen_proto.c
+++ b/trafgen_proto.c
@@ -12,6 +12,7 @@
#include "xmalloc.h"
#include "trafgen_conf.h"
#include "trafgen_l2.h"
+#include "trafgen_l3.h"
#include "trafgen_proto.h"
#define field_shift_and_mask(f, v) (((v) << (f)->shift) & \
@@ -360,6 +361,7 @@ void protos_init(const char *dev)
ctx.dev = dev;
protos_l2_init();
+ protos_l3_init();
for (p = registered; p; p = p->next)
p->ctx = &ctx;