From 144065575fcd5f60eeba7f6bd9b813a8c5c5c997 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Tue, 29 Jan 2008 13:44:34 +0000 Subject: [PATCH]: escape strings Max Kellermann --- extensions/libxt_helper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extensions/libxt_helper.c') diff --git a/extensions/libxt_helper.c b/extensions/libxt_helper.c index 390930a..f2f3a3d 100644 --- a/extensions/libxt_helper.c +++ b/extensions/libxt_helper.c @@ -72,7 +72,8 @@ static void helper_save(const void *ip, const struct xt_entry_match *match) { struct xt_helper_info *info = (struct xt_helper_info *)match->data; - printf("%s--helper \"%s\" ",info->invert ? "! " : "", info->name); + printf("%s--helper ",info->invert ? "! " : ""); + save_string(info->name); } static struct xtables_match helper_match = { -- cgit v1.2.3