diff --git a/extensions/libxt_TEE.c b/extensions/libxt_TEE.c index f1a65a1..33005c9 100644 --- a/extensions/libxt_TEE.c +++ b/extensions/libxt_TEE.c @@ -53,10 +53,6 @@ static int tee_tg_parse(int c, char **argv, int invert, unsigned int *flags, exit_error(PARAMETER_PROBLEM, "Cannot specify --gw more than once"); - if (check_inverse(optarg, &invert, NULL, 0)) - exit_error(PARAMETER_PROBLEM, - "Unexpected \"!\" after --gateway"); - ia = numeric_to_ipaddr(optarg); if (ia == NULL) exit_error(PARAMETER_PROBLEM, @@ -82,10 +78,6 @@ static int tee_tg6_parse(int c, char **argv, int invert, unsigned int *flags, exit_error(PARAMETER_PROBLEM, "Cannot specify --gw more than once"); - if (check_inverse(optarg, &invert, NULL, 0)) - exit_error(PARAMETER_PROBLEM, - "Unexpected \"!\" after --gateway"); - ia = numeric_to_ip6addr(optarg); if (ia == NULL) exit_error(PARAMETER_PROBLEM,