Commit 0d9cc943 authored by David Johnson's avatar David Johnson

Add notrack nftable expr helper (no connection tracking).

parent c2540027
......@@ -42,6 +42,10 @@ def counter(bytes=0,packets=0):
return [genex('counter', kwarg), ]
def notrack():
return [{'attrs': [('NFTA_EXPR_NAME','notrack')]}]
def mark(match=None,cmp_op=0,new=None):
ret = []
if match is not None:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment