From 03eafe098d5eead786cbbe6f79348f05819cd99e Mon Sep 17 00:00:00 2001 From: Fernando Fernandez Mancera Date: Tue, 23 Oct 2018 17:06:22 +0200 Subject: osf: add ttl option support Add support for ttl option in "osf" expression. Example: table ip foo { chain bar { type filter hook input priority filter; policy accept; osf ttl skip name "Linux" } } Signed-off-by: Fernando Fernandez Mancera Signed-off-by: Pablo Neira Ayuso --- tests/py/inet/osf.t | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/py/inet/osf.t') diff --git a/tests/py/inet/osf.t b/tests/py/inet/osf.t index bccfc751..fd5d9ed8 100644 --- a/tests/py/inet/osf.t +++ b/tests/py/inet/osf.t @@ -5,6 +5,9 @@ *inet;osfinet;osfchain osf name "Linux";ok +osf ttl loose name "Linux";ok +osf ttl skip name "Linux";ok +osf ttl nottl name "Linux";fail osf name "morethansixteenbytes";fail osf name ;fail osf name { "Windows", "MacOs" };ok -- cgit v1.2.3