diff options
Diffstat (limited to 'tests/xmlfiles/22-rule-cmp.xml')
-rw-r--r-- | tests/xmlfiles/22-rule-cmp.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/xmlfiles/22-rule-cmp.xml b/tests/xmlfiles/22-rule-cmp.xml new file mode 100644 index 0000000..c135bcd --- /dev/null +++ b/tests/xmlfiles/22-rule-cmp.xml @@ -0,0 +1,13 @@ +<rule family="ip" table="filter" chain="INPUT" handle="100" version="0"> + <rule_flags>0</rule_flags> + <expr type="cmp"> + <sreg>1</sreg> + <op>eq</op> + <cmpdata> + <data_reg type="value"> + <len>4</len> + <data0>0x01010101</data0> + </data_reg> + </cmpdata> + </expr> +</rule> |