From 9069dfd00513f169b497e88c3edd21833315aca7 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Mon, 26 Nov 2001 08:21:30 +0000 Subject: [PATCH] Fix rename of global option --- options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/options.c b/options.c index 93951176..cc0533de 100644 --- a/options.c +++ b/options.c @@ -314,8 +314,8 @@ static struct poptOption long_options[] = { {"read-batch", 'f', POPT_ARG_STRING, &batch_ext, 'f'}, {"write-batch", 'F', POPT_ARG_NONE, &write_batch, 0}, #ifdef INET6 - {0, '4', POPT_ARG_VAL, &global_opts.af, AF_INET }, - {0, '6', POPT_ARG_VAL, &global_opts.af, AF_INET6 }, + {0, '4', POPT_ARG_VAL, &global_opts.af_hint, AF_INET }, + {0, '6', POPT_ARG_VAL, &global_opts.af_hint, AF_INET6 }, #endif {0,0,0,0} }; -- 2.34.1