summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/socket.t
diff options
context:
space:
mode:
authorMáté Eckl <ecklm94@gmail.com>2018-08-01 20:09:22 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-08-03 12:25:59 +0200
commit9ea0401e385e1dd3f1579a4e772aa876a5e21288 (patch)
tree44c88a4960fda27226bdd11b938d1a3871af1588 /tests/py/inet/socket.t
parent029d9b3c16ae2354b6397c325a8dc389c67d970b (diff)
src: Expose socket mark via socket expression
This can be used like ct mark or meta mark except it cannot be set. doc and tests are included. Signed-off-by: Máté Eckl <ecklm94@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/inet/socket.t')
-rw-r--r--tests/py/inet/socket.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/py/inet/socket.t b/tests/py/inet/socket.t
index 8edfa78d..91846e8e 100644
--- a/tests/py/inet/socket.t
+++ b/tests/py/inet/socket.t
@@ -7,3 +7,5 @@
socket transparent 0;ok
socket transparent 1;ok
socket transparent 2;fail
+
+socket mark 0x00000005;ok