diff options
-rw-r--r-- | extensions/libipt_realm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libipt_realm.c b/extensions/libipt_realm.c index 20c30147..ec9d3e34 100644 --- a/extensions/libipt_realm.c +++ b/extensions/libipt_realm.c @@ -49,7 +49,7 @@ parse(int c, char **argv, int invert, unsigned int *flags, switch (c) { char *end; case '1': - check_inverse(argv[optind], &invert, &optind, 0); + check_inverse(argv[optind-1], &invert, &optind, 0); optarg = argv[optind-1]; realminfo->id = strtoul(optarg, &end, 0); if (*end == '/') { |