summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/xtables.h.in1
-rw-r--r--xtables.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/xtables.h.in b/include/xtables.h.in
index b5f1af27..c4d2b922 100644
--- a/include/xtables.h.in
+++ b/include/xtables.h.in
@@ -235,7 +235,6 @@ int xtables_check_inverse(const char option[], int *invert,
int *my_optind, int argc);
extern struct xtables_globals *xt_params;
#define exit_error xt_params->exit_err
-#define OPTION_OFFSET 256
extern void xtables_param_act(unsigned int, const char *, ...);
diff --git a/xtables.c b/xtables.c
index 50cfced8..f3056735 100644
--- a/xtables.c
+++ b/xtables.c
@@ -96,7 +96,7 @@ struct option *xtables_merge_options(struct option *oldopts,
for (num_old = 0; oldopts[num_old].name; num_old++) ;
for (num_new = 0; newopts[num_new].name; num_new++) ;
- xt_params->option_offset += OPTION_OFFSET;
+ xt_params->option_offset += 256;
*option_offset = xt_params->option_offset;
merge = malloc(sizeof(struct option) * (num_new + num_old + 1));