projects
/
flowspec-xdp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9cc1cc
)
Fix fragment parsing due to further `,` overload confusion.
author
Matt Corallo
<git@bluematt.me>
Tue, 18 May 2021 15:13:00 +0000
(15:13 +0000)
committer
Matt Corallo
<git@bluematt.me>
Tue, 18 May 2021 15:13:00 +0000
(15:13 +0000)
Ondrej said "No, fragmentation-type is just a variant of bitmask."
genrules.py
patch
|
blob
|
history
diff --git
a/genrules.py
b/genrules.py
index 8e58e9ac6de0259bcbdc3f67636a10882d8b0deb..37c533ea6832919253fdbd04d6d96887cfd8b7e4 100755
(executable)
--- a/
genrules.py
+++ b/
genrules.py
@@
-199,7
+199,7
@@
def ip_to_rule(proto, inip, ty, offset):
break;"""
def fragment_to_rule(ipproto, rules):
- ast = parse_ast(rules, parse_frag_expr,
Tru
e)
+ ast = parse_ast(rules, parse_frag_expr,
Fals
e)
return "if (!( " + ast.write(ipproto) + " )) break;"
def len_to_rule(rules):