]> sjero.net Git - wget/blobdiff - src/options.h
[svn] Added (currently no-op) -4 and -6.
[wget] / src / options.h
index e107fb09987a1a9cbf1dec15537102cc475ba1d8..00d89c349312ad1da002649fc0fe2c112bdf09b5 100644 (file)
@@ -199,6 +199,11 @@ struct options
 
   int preserve_perm;           /* whether remote permissions are used
                                  or that what is set by umask. */
+
+#ifdef ENABLE_IPV6
+  int ipv4_only;               /* IPv4 connections have been requested. */
+  int ipv6_only;               /* IPv4 connections have been requested. */
+#endif
 };
 
 extern struct options opt;