diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2010-05-20 16:00:48 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-05-20 16:00:48 +0200 |
commit | 7278461dfad72e2008585dd0bac0e889e5bba99e (patch) | |
tree | feb3d32598f9940b9417c0e6c49963231f98adc2 /include/net | |
parent | 30290aea009cf3fd76f27336fb4370be3467c4da (diff) |
extensions: MASQUERADE: fix --to-ports parser
Rewrite port range validator to use xtables_strtoui() and
xtables_param_act(). Original check failed to recognize
such port range errors as "1a-2" and "1-2a".
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 'include/net')
0 files changed, 0 insertions, 0 deletions