diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-10-01 10:44:49 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-10-01 10:44:58 +0200 |
commit | a9084baa5d0ff6ccd28715b79ad2630bc77be49b (patch) | |
tree | 5f53bda6e82184773150e29339a425578c4db644 /extensions/libxt_DSCP.t | |
parent | cbe036db892c298c33e77dec2c5129dbb4dccc2c (diff) | |
parent | 4b187eeed49dc507d38438affabe90d36847412d (diff) |
Merge branch 'tests'
This merges the iptables-test.py script and the corresponding
test files.
Diffstat (limited to 'extensions/libxt_DSCP.t')
-rw-r--r-- | extensions/libxt_DSCP.t | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/extensions/libxt_DSCP.t b/extensions/libxt_DSCP.t new file mode 100644 index 00000000..fcc55986 --- /dev/null +++ b/extensions/libxt_DSCP.t @@ -0,0 +1,11 @@ +:PREROUTING,INPUT,FORWARD,OUTPUT,POSTROUTING +*mangle +-j DSCP --set-dscp 0;=;OK +-j DSCP --set-dscp 0x3f;=;OK +-j DSCP --set-dscp -1;;FAIL +-j DSCP --set-dscp 0x40;;FAIL +-j DSCP --set-dscp 0x3f --set-dscp-class CS0;;FAIL +-j DSCP --set-dscp-class CS0;-j DSCP --set-dscp 0x00;OK +-j DSCP --set-dscp-class BE;-j DSCP --set-dscp 0x00;OK +-j DSCP --set-dscp-class EF;-j DSCP --set-dscp 0x2e;OK +-j DSCP;;FAIL |