From 37aa26983847cf1be7884427b16815da84e6b82a Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Mon, 4 Jun 2007 17:30:24 +0000 Subject: add aliases --sport and --dport to make it more iptables-like --- extensions/libct_proto_tcp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extensions/libct_proto_tcp.c') diff --git a/extensions/libct_proto_tcp.c b/extensions/libct_proto_tcp.c index 5a5c5c4..1f0cde6 100644 --- a/extensions/libct_proto_tcp.c +++ b/extensions/libct_proto_tcp.c @@ -19,7 +19,9 @@ static struct option opts[] = { {"orig-port-src", 1, 0, '1'}, + {"sport", 1, 0, '1'}, {"orig-port-dst", 1, 0, '2'}, + {"dport", 1, 0, '2'}, {"reply-port-src", 1, 0, '3'}, {"reply-port-dst", 1, 0, '4'}, {"mask-port-src", 1, 0, '5'}, -- cgit v1.2.3