+2003-11-19 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * main.c (main): Don't reference opt.ipv4_only and opt.ipv6_only
+ if IPv6 is disabled.
+
2003-11-19 Hrvoje Niksic <hniksic@xemacs.org>
* connect.c (socket_has_inet6): Only compile it if IPv6 is enabled
print_usage ();
exit (1);
}
+#ifdef ENABLE_IPV6
if (opt.ipv4_only && opt.ipv6_only)
{
printf (_("Cannot specify both --inet4-only and --inet6-only.\n"));
print_usage ();
exit (1);
}
+#endif
nurl = argc - optind;
if (!nurl && !opt.input_filename)