All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] conntrack tool.
@ 2005-09-28 12:49 Christian Hentschel
  0 siblings, 0 replies; only message in thread
From: Christian Hentschel @ 2005-09-28 12:49 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 233 bytes --]

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, 
-- 
Christian Hentschel <chentschel@arnet.com.ar>

[-- Attachment #2: conntrack.patch --]
[-- Type: text/x-patch, Size: 980 bytes --]

Index: extensions/libct_proto_icmp.c
===================================================================
--- extensions/libct_proto_icmp.c	(revision 4307)
+++ extensions/libct_proto_icmp.c	(working copy)
@@ -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}
 };
 
Index: autogen.sh
===================================================================
--- autogen.sh	(revision 0)
+++ autogen.sh	(revision 0)
@@ -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
   + *


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-28 12:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-28 12:49 [PATCH] conntrack tool Christian Hentschel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.