Prevent user from using --helper multiple times (Nicolas Bouliane <nib@cookinglinux.org>)
diff --git a/extensions/libipt_helper.c b/extensions/libipt_helper.c
index 52047e4..10b39d7 100644
--- a/extensions/libipt_helper.c
+++ b/extensions/libipt_helper.c
@@ -44,6 +44,9 @@
 
 	switch (c) {
 	case '1':
+		if (*flags)
+			exit_error(PARAMETER_PROBLEM,
+					"helper match: Only use --helper ONCE!");
 		check_inverse(optarg, &invert, &invert, 0);
 		strncpy(info->name, optarg, 29);
 		info->name[29] = '\0';