From 6a93fa02bb4f98156196088e14603ab4707745ed Mon Sep 17 00:00:00 2001 From: Phil Oester Date: Sat, 18 Sep 2004 17:45:41 +0000 Subject: fix psd option parsing (Phil Oester) --- extensions/libipt_psd.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'extensions') 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': -- cgit v1.2.3