diff options
author | kaber <kaber> | 2004-09-18 17:45:41 +0000 |
---|---|---|
committer | kaber <kaber> | 2004-09-18 17:45:41 +0000 |
commit | d056294bf539938033246a768f818d14ddf34f50 (patch) | |
tree | 477cbaf3f5cb0cf22fbbb61e8664204ef1ffe843 | |
parent | 7a900009ee71e9096814dd71333683bbeb172816 (diff) |
[PATCH] fix psd option parsing (Phil Oester)
-rw-r--r-- | extensions/libipt_psd.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/extensions/libipt_psd.c b/extensions/libipt_psd.c index 8a6198e..068430d 100644 --- a/extensions/libipt_psd.c +++ b/extensions/libipt_psd.c @@ -84,11 +84,6 @@ parse(int c, char **argv, int invert, unsigned int *flags, struct ipt_psd_info *psdinfo = (struct ipt_psd_info *)(*match)->data; unsigned int num; - if (!optarg) - exit_error(PARAMETER_PROBLEM, "missing optarg"); - - /* string_to_number needs a leading space */ - switch (c) { /* PSD-weight-threshold */ case '1': |