summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Oester <kernel@linuxace.com>2004-09-18 17:45:41 +0000
committerPatrick McHardy <kaber@trash.net>2004-09-18 17:45:41 +0000
commit6a93fa02bb4f98156196088e14603ab4707745ed (patch)
tree477cbaf3f5cb0cf22fbbb61e8664204ef1ffe843
parentd0a2e8adfaa8bc60f2c52f64ab32ca11d00e49db (diff)
fix psd option parsing (Phil Oester)
-rw-r--r--extensions/libipt_psd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/extensions/libipt_psd.c b/extensions/libipt_psd.c
index 8a6198e0..068430d9 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':