diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2010-05-14 13:24:51 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-05-14 13:24:51 +0200 |
commit | 84d758b3bc3121a5603261699c474f64672ef9f6 (patch) | |
tree | ffc29bb21e054a86c8f0f0125cb359aac7daa1fb /extensions/libip6t_eui64.man | |
parent | 967cb7106f0f61cd7b8fbb10bc2451a3f7372a43 (diff) |
extensions: REDIRECT: fix --to-ports parser
Rewrite port range validator to use xtables_strtoui() and
xtables_param_act(). Original check failed to recognize
several types of port range errors, including:
"-1", "-1a", "-1-a", "a-1", "1a-2", "1-2a", etc.
Also, original parser erroneously denied using port 0,
which is now allowed.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'extensions/libip6t_eui64.man')
0 files changed, 0 insertions, 0 deletions