diff options
Diffstat (limited to 'conf/flowspec.Y')
-rw-r--r-- | conf/flowspec.Y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/flowspec.Y b/conf/flowspec.Y index 56a7c5dc..102fed45 100644 --- a/conf/flowspec.Y +++ b/conf/flowspec.Y @@ -142,7 +142,7 @@ flow_frag_opts: ; flow4_item: - flow_srcdst net_ip { + flow_srcdst net_ip4 { flow_builder_set_type(this_flow, $1); flow_builder4_add_pfx(this_flow, (net_addr_ip4 *) &($2)); } @@ -180,7 +180,7 @@ flow6_opts: flow_builder_init: { if (this_flow == NULL) - this_flow = flow_builder_init(&root_pool); + this_flow = flow_builder_init(config_pool); /* FIXME: This should be allocated from tmp in future */ else flow_builder_clear(this_flow); }; |