All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iptables-restore.c bugfix
@ 2004-01-05  4:39 Michael Rash
  2004-01-06 19:10 ` Harald Welte
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Rash @ 2004-01-05  4:39 UTC (permalink / raw)
  To: netfilter-devel

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

The attached (trivial) patch fixes bug 171 in the netfilter bugzilla.

--Mike

Michael Rash
http://www.cipherdyne.org
Key fingerprint = 53EA 13EA 472E 3771 894F  AC69 95D8 5D6B A742 839F

[-- Attachment #2: iptables-restore.c_escape_quote --]
[-- Type: text/plain, Size: 558 bytes --]

Index: iptables-restore.c
===================================================================
RCS file: /cvspublic/netfilter/userspace/iptables-restore.c,v
retrieving revision 1.26
diff -u -r1.26 iptables-restore.c
--- iptables-restore.c	2 May 2003 15:30:11 -0000	1.26
+++ iptables-restore.c	5 Jan 2004 03:48:35 -0000
@@ -318,7 +318,7 @@
 			
 			for (curchar = parsestart; *curchar; curchar++) {
 				if (*curchar == '"') {
-					if (quote_open) {
+					if (quote_open && *(curchar-1) != '\\') {
 						quote_open = 0;
 						*curchar = ' ';
 					} else {

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

* Re: [PATCH] iptables-restore.c bugfix
  2004-01-05  4:39 [PATCH] iptables-restore.c bugfix Michael Rash
@ 2004-01-06 19:10 ` Harald Welte
  0 siblings, 0 replies; 2+ messages in thread
From: Harald Welte @ 2004-01-06 19:10 UTC (permalink / raw)
  To: Michael Rash; +Cc: netfilter-devel

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

On Sun, Jan 04, 2004 at 11:39:50PM -0500, Michael Rash wrote:
> The attached (trivial) patch fixes bug 171 in the netfilter bugzilla.

thanks, I am actually reading the bugzilla buglog and thus use the
patches from there.

> --Mike
> Michael Rash

-- 
- Harald Welte <laforge@netfilter.org>             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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2004-01-06 19:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-05  4:39 [PATCH] iptables-restore.c bugfix Michael Rash
2004-01-06 19:10 ` 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.