diff options
Diffstat (limited to 'nest')
-rw-r--r-- | nest/proto.c | 4 | ||||
-rw-r--r-- | nest/protocol.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/nest/proto.c b/nest/proto.c index d4a333d0..040dc115 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -1382,7 +1382,9 @@ protos_build(void) #ifdef CONFIG_PERF proto_build(&proto_perf); #endif - +#ifdef CONFIG_FIREWALL + proto_build(&proto_firewall); +#endif proto_pool = rp_new(&root_pool, "Protocols"); proto_shutdown_timer = tm_new(proto_pool); proto_shutdown_timer->hook = proto_shutdown_loop; diff --git a/nest/protocol.h b/nest/protocol.h index 56d66ed5..8d122135 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -53,6 +53,7 @@ enum protocol_class { PROTOCOL_RIP, PROTOCOL_RPKI, PROTOCOL_STATIC, + PROTOCOL_FIREWALL, PROTOCOL__MAX }; @@ -102,7 +103,7 @@ void protos_dump_all(void); extern struct protocol proto_device, proto_radv, proto_rip, proto_static, proto_mrt, proto_ospf, proto_perf, - proto_pipe, proto_bgp, proto_bfd, proto_babel, proto_rpki; + proto_pipe, proto_bgp, proto_bfd, proto_babel, proto_rpki, proto_firewall; /* * Routing Protocol Instance |