: trivial patches
PATCH 1/1 : trivial patches
Hi,
These patches fix strange indent in libip(6)t_{tcp,udp}.c.
Please apply.
-----------------------------------------------------------------
Yasuyuki KOZAKAI @ USAGI Project <[email protected]>
Index: extensions/libip6t_tcp.c
===================================================================
RCS file: /cvspublic/iptables/extensions/libip6t_tcp.c,v retrieving revision 1.11
libip6t_tcp.c +1 -1
@@ -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
libip6t_udp.c +3 -3
@@ -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
libipt_tcp.c +1 -1
@@ -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
libipt_udp.c +3 -3
@@ -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)
[ot] Standard patch exclude file?
Instead of making it from scratch, I was wondering if anyone had a diff exclude file for making diff -urN patches....
-Scott
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
Re: [ot] Standard patch exclude file?
Quoted 3 lines · Scott MacKay
Instead of making it from scratch, I was wondering if anyone had a diff exclude file for making diff -urN patches....
please google for 'dontdiff', which leads you to
http://www.moses.uklinux.net/patches/dontdiff
Quoted 1 line
-Scott
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie