summaryrefslogtreecommitdiff
path: root/conf/flowspec.Y
diff options
context:
space:
mode:
Diffstat (limited to 'conf/flowspec.Y')
-rw-r--r--conf/flowspec.Y3
1 files changed, 1 insertions, 2 deletions
diff --git a/conf/flowspec.Y b/conf/flowspec.Y
index 4d259763..56a7c5dc 100644
--- a/conf/flowspec.Y
+++ b/conf/flowspec.Y
@@ -59,12 +59,12 @@ flow_num_type_:
| ICMP CODE { $$ = FLOW_TYPE_ICMP_CODE; }
| LENGTH { $$ = FLOW_TYPE_PACKET_LENGTH; }
| DSCP { $$ = FLOW_TYPE_DSCP; }
+ | LABEL { $$ = FLOW_TYPE_LABEL; }
;
flow_num_type: flow_num_type_{ flow_builder_set_type(this_flow, $1); };
flow_flag_type: TCP FLAGS { flow_builder_set_type(this_flow, FLOW_TYPE_TCP_FLAGS); };
flow_frag_type: FRAGMENT { flow_builder_set_type(this_flow, FLOW_TYPE_FRAGMENT); };
-flow_label_type: LABEL { flow_builder_set_type(this_flow, FLOW_TYPE_LABEL); };
flow_srcdst:
DST { $$ = FLOW_TYPE_DST_PREFIX; }
@@ -165,7 +165,6 @@ flow6_item:
| flow_num_type flow_num_opts
| flow_flag_type flow_bmk_opts
| flow_frag_type flow_frag_opts
- | flow_label_type flow_bmk_opts
;
flow4_opts: