diff options
author | Max Kellermann <max@duempel.org> | 2008-01-29 13:44:34 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-01-29 13:44:34 +0000 |
commit | a5d099400fd6f9ad3880dda10f85d2aa36b5ec65 (patch) | |
tree | 53f0bc09b04d1677e5e150c7cff82c3b1b24c47e /extensions/libxt_helper.c | |
parent | b4ef34f5be162ffcfe53f5f5fa93541691161580 (diff) |
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 390930a9..f2f3a3d3 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 = { |