Skip to contentSkip to conversation

conntrack tool.

PATCH New Christian Hentschel 1 participant 1 message Sep 28, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conntrack tool.

Hi pablo,
This patch adds small fixes to the conntrack tool.

Changes:
libct_proto_icmp.c args parsing.
added autogen.sh file (stolen from libnfnetlink_conntrack) :)

Regards,

Signature · 1 line
Christian Hentschel <[email protected]>
libct_proto_icmp.c +3 -3
Index: extensions/libct_proto_icmp.c
===================================================================
@@ -15,9 +15,9 @@
 #include "libct_proto.h"
 
 static struct option opts[] = {
-	{"--icmp-type", 1, 0, '1'},
-	{"--icmp-code", 1, 0, '2'},
-	{"--icmp-id", 1, 0, '3'},
+	{"icmp-type", 1, 0, '1'},
+	{"icmp-code", 1, 0, '2'},
+	{"icmp-id", 1, 0, '3'},
 	{0, 0, 0, 0}
 };
 
autogen.sh +17 -0
Index: autogen.sh
===================================================================
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+run ()
+{
+    echo "running: $*"
+    eval $*
+
+    if test $? != 0 ; then
+	echo "error: while running '$*'"
+	exit 1
+    fi
+}
+
+run aclocal-1.6
+#run autoheader
+run automake-1.6 -a
+run autoconf

Property changes on: autogen.sh
___________________________________________________________________
Name: svn:executable
+ *