Skip to content

Commit 5d44dcc

Browse files
committed
Update ip6tables.c
1 parent 5f0623a commit 5d44dcc

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

ipthelper/ip6tables.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ static const unsigned int inverse_for_options[NUMBER_OF_OPT] =
216216
0,
217217
};
218218

219-
#define opts iptables_globals.opts
220219
#define prog_name iptables_globals.program_name
221220
#define prog_vers iptables_globals.program_version
222221
/* A few hardcoded protocols for 'all' and in case the user has no
@@ -1439,10 +1438,10 @@ int do_command6(int argc, char *argv[], char **table, void **handle)
14391438
demand-load a protocol. */
14401439
opterr = 0;
14411440

1442-
opts = xt_params->orig_opts;
1441+
iptables_globals.opts = iptables_globals.orig_opts;
14431442
while ((cs.c = getopt_long(argc, argv,
14441443
"-:A:C:D:R:I:L::S::M:F::Z::N:X::E:P:Vh::o:p:s:d:j:i:bvnt:m:xc:g:46",
1445-
xt_params->opts ?: opts, NULL)) != -1) {
1444+
iptables_globals.opts?: iptables_globals.orig_opts, NULL)) != -1) {
14461445
switch (cs.c) {
14471446
/*
14481447
* Command selection

0 commit comments

Comments
 (0)