Ondrej said "No, fragmentation-type is just a variant of bitmask."
break;"""
def fragment_to_rule(ipproto, rules):
break;"""
def fragment_to_rule(ipproto, rules):
- ast = parse_ast(rules, parse_frag_expr, True)
+ ast = parse_ast(rules, parse_frag_expr, False)
return "if (!( " + ast.write(ipproto) + " )) break;"
def len_to_rule(rules):
return "if (!( " + ast.write(ipproto) + " )) break;"
def len_to_rule(rules):