diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2021-05-18 20:18:06 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2021-05-18 20:23:08 +0200 |
commit | abc9ccc5cb7a3adcbb2090ba7314031b835b0e04 (patch) | |
tree | b5e137243217e4316dd6925bc8c18c49906b4371 /lib/flowspec.c | |
parent | dd8481cc1c92af32ec69cded42b985b7bad40b26 (diff) |
Flowspec: Label field should use numeric operator and not bitmask operator
Diffstat (limited to 'lib/flowspec.c')
-rw-r--r-- | lib/flowspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/flowspec.c b/lib/flowspec.c index 1445435a..14b42b52 100644 --- a/lib/flowspec.c +++ b/lib/flowspec.c @@ -1351,11 +1351,11 @@ net_format_flow(char *buf, uint blen, const byte *data, uint dlen, int ipv6) case FLOW_TYPE_ICMP_CODE: case FLOW_TYPE_PACKET_LENGTH: case FLOW_TYPE_DSCP: + case FLOW_TYPE_LABEL: net_format_flow_num(&b, part); break; case FLOW_TYPE_TCP_FLAGS: case FLOW_TYPE_FRAGMENT: - case FLOW_TYPE_LABEL: net_format_flow_bitmask(&b, part); break; } |