aboutsummaryrefslogtreecommitdiffstats
path: root/extensions/libipt_TTL.t
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2017-03-24 06:34:41 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-03-24 06:34:41 +0000
commit3c9546c0d95e649f59e239b9a20ef398eb553774 (patch)
tree4400fe0ba9baae676633293796954b4061726d5d /extensions/libipt_TTL.t
parent70bc36c5ebb934f094bd2135d0ff14280bcef024 (diff)
parente20d6bf62b07e455e15b3d8982fb83dc99b9e564 (diff)
downloadplatform_external_iptables-3c9546c0d95e649f59e239b9a20ef398eb553774.tar.gz
platform_external_iptables-3c9546c0d95e649f59e239b9a20ef398eb553774.tar.bz2
platform_external_iptables-3c9546c0d95e649f59e239b9a20ef398eb553774.zip
Merge changes from topic 'iptables-1.6.1' am: c784fc47e6 am: ff45753ae3
am: e20d6bf62b Change-Id: I7f42039a088b89201367df2b0a926fcd88987776
Diffstat (limited to 'extensions/libipt_TTL.t')
-rw-r--r--extensions/libipt_TTL.t10
1 files changed, 10 insertions, 0 deletions
diff --git a/extensions/libipt_TTL.t b/extensions/libipt_TTL.t
new file mode 100644
index 00000000..36809792
--- /dev/null
+++ b/extensions/libipt_TTL.t
@@ -0,0 +1,10 @@
+:PREROUTING,INPUT,FORWARD,OUTPUT,POSTROUTING
+*mangle
+-j TTL --ttl-set 42;=;OK
+-j TTL --ttl-inc 1;=;OK
+-j TTL --ttl-dec 1;=;OK
+-j TTL --ttl-set 256;;FAIL
+-j TTL --ttl-inc 0;;FAIL
+-j TTL --ttl-dec 0;;FAIL
+-j TTL --ttl-dec 1 --ttl-inc 1;;FAIL
+-j TTL --ttl-set --ttl-inc 1;;FAIL