[iptables,2/2] extensions: add some test cases for 'SEG6' target

Message ID 1515731999-6381-2-git-send-email-amsalam20@gmail.com
State Changes Requested
Delegated to: Pablo Neira
Headers show
Series
  • [iptables,1/2] extensions: add support for 'SEG6' target
Related show

Commit Message

Ahmed Abdelsalam Jan. 12, 2018, 4:39 a.m.
This patch adds some test cases for 'SEG6' target.

Signed-off-by: Ahmed Abdelsalam <amsalam20@gmail.com>
---
 extensions/libip6t_SEG6.t | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 extensions/libip6t_SEG6.t

Patch

diff --git a/extensions/libip6t_SEG6.t b/extensions/libip6t_SEG6.t
new file mode 100644
index 0000000..8dc30cb
--- /dev/null
+++ b/extensions/libip6t_SEG6.t
@@ -0,0 +1,5 @@ 
+:INPUT,FORWARD,OUTPUT
+-j SEG6 --seg6-action go-next;=;OK
+-j SEG6 --seg6-action skip-next;=;OK
+-j SEG6 --seg6-action go-last;=;OK
+-j SEG6;=;OK