lede/package/lean/wget/patches/001-prefer_ipv4.patch
2020-07-19 13:54:32 +08:00

12 lines
355 B
Diff

--- a/src/init.c 2020-07-11 21:55:28.055428530 +0800
+++ b/src/init.c 2020-07-11 21:58:08.698565761 +0800
@@ -412,7 +412,7 @@ defaults (void)
tmp = getenv ("no_proxy");
if (tmp)
opt.no_proxy = sepstring (tmp);
- opt.prefer_family = prefer_none;
+ opt.prefer_family = prefer_ipv4;
opt.allow_cache = true;
opt.if_modified_since = true;