All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: trivial patches
@ 2004-07-29  7:29 Yasuyuki Kozakai
  2004-07-29 12:14 ` [ot] Standard patch exclude file? Scott MacKay
  0 siblings, 1 reply; 3+ messages in thread
From: Yasuyuki Kozakai @ 2004-07-29  7:29 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: Text/Plain, Size: 213 bytes --]


Hi,

These patches fix strange indent in libip(6)t_{tcp,udp}.c.

Please apply.

-----------------------------------------------------------------
Yasuyuki KOZAKAI @ USAGI Project <yasuyuki.kozakai@toshiba.co.jp>

[-- Attachment #2: iptables-indent.patch --]
[-- Type: Text/Plain, Size: 2410 bytes --]

Index: extensions/libip6t_tcp.c
===================================================================
RCS file: /cvspublic/iptables/extensions/libip6t_tcp.c,v
retrieving revision 1.11
diff -u -r1.11 libip6t_tcp.c
--- extensions/libip6t_tcp.c	30 Mar 2003 18:29:56 -0000	1.11
+++ extensions/libip6t_tcp.c	27 Jul 2004 16:13:27 -0000
@@ -123,7 +123,7 @@
 		if (i == sizeof(tcp_flag_names)/sizeof(struct tcp_flag_names))
 			exit_error(PARAMETER_PROBLEM,
 				   "Unknown TCP flag `%s'", ptr);
-		}
+	}
 
 	free(buffer);
 	return ret;
Index: extensions/libip6t_udp.c
===================================================================
RCS file: /cvspublic/iptables/extensions/libip6t_udp.c,v
retrieving revision 1.8
diff -u -r1.8 libip6t_udp.c
--- extensions/libip6t_udp.c	2 Oct 2003 19:59:27 -0000	1.8
+++ extensions/libip6t_udp.c	27 Jul 2004 16:13:27 -0000
@@ -50,9 +50,9 @@
 	    (portnum = service_to_port(port)) != -1)
 		return (u_int16_t)portnum;
 
-		exit_error(PARAMETER_PROBLEM,
-			   "invalid UDP port/service `%s' specified", port);
-	}
+	exit_error(PARAMETER_PROBLEM,
+		   "invalid UDP port/service `%s' specified", port);
+}
 
 static void
 parse_udp_ports(const char *portstring, u_int16_t *ports)
Index: extensions/libipt_tcp.c
===================================================================
RCS file: /cvspublic/iptables/extensions/libipt_tcp.c,v
retrieving revision 1.15
diff -u -r1.15 libipt_tcp.c
--- extensions/libipt_tcp.c	30 Mar 2003 18:29:56 -0000	1.15
+++ extensions/libipt_tcp.c	27 Jul 2004 16:13:28 -0000
@@ -123,7 +123,7 @@
 		if (i == sizeof(tcp_flag_names)/sizeof(struct tcp_flag_names))
 			exit_error(PARAMETER_PROBLEM,
 				   "Unknown TCP flag `%s'", ptr);
-		}
+	}
 
 	free(buffer);
 	return ret;
Index: extensions/libipt_udp.c
===================================================================
RCS file: /cvspublic/iptables/extensions/libipt_udp.c,v
retrieving revision 1.10
diff -u -r1.10 libipt_udp.c
--- extensions/libipt_udp.c	26 Jul 2002 16:27:57 -0000	1.10
+++ extensions/libipt_udp.c	27 Jul 2004 16:13:28 -0000
@@ -50,9 +50,9 @@
 	    (portnum = service_to_port(port)) != -1)
 		return (u_int16_t)portnum;
 
-		exit_error(PARAMETER_PROBLEM,
-			   "invalid UDP port/service `%s' specified", port);
-	}
+	exit_error(PARAMETER_PROBLEM,
+		   "invalid UDP port/service `%s' specified", port);
+}
 
 static void
 parse_udp_ports(const char *portstring, u_int16_t *ports)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-01 17:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-29  7:29 [PATCH]: trivial patches Yasuyuki Kozakai
2004-07-29 12:14 ` [ot] Standard patch exclude file? Scott MacKay
2004-08-01 17:23   ` Harald Welte

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.