summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-11-26 08:21:30 +0000
committerMartin Pool <mbp@samba.org>2001-11-26 08:21:30 +0000
commit9069dfd00513f169b497e88c3edd21833315aca7 (patch)
tree0b759e8ae7a0ba629717e043d520a036e4f3d11f
parent2be5d2daad47684b5d2728652c4a80bf8846a507 (diff)
downloadrsync-9069dfd00513f169b497e88c3edd21833315aca7.tar.gz
Fix rename of global option
-rw-r--r--options.c4
1 files 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}
};