summaryrefslogtreecommitdiffstats
path: root/xtables.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-02-21 02:48:11 +0100
committerJan Engelhardt <jengelh@medozas.de>2009-02-21 02:48:11 +0100
commitbddcb92d1f0f76d21c4469b1667c8199c9fab126 (patch)
treef92185919d71748b2b68f36c33fe2a8c41105be6 /xtables.c
parent1791a45b279db742d6de35ea8dc1ad9dda4acb73 (diff)
libxtables: inline and remove unused OPTION_OFFSET macro
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'xtables.c')
-rw-r--r--xtables.c2
1 files changed, 1 insertions, 1 deletions
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));