diff options
author | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-01-29 13:44:34 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-01-29 13:44:34 +0000 |
commit | 144065575fcd5f60eeba7f6bd9b813a8c5c5c997 (patch) | |
tree | 53f0bc09b04d1677e5e150c7cff82c3b1b24c47e /extensions/libxt_helper.c | |
parent | 17e5b897e9fc58f1f5fc5949c48e6aad7b489634 (diff) |
[PATCH]: escape strings
Max Kellermann <max@duempel.org>
Diffstat (limited to 'extensions/libxt_helper.c')
-rw-r--r-- | extensions/libxt_helper.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 = { |