From 4bd8865ccd3a85c7fa2a45abe9f23f9e985e5272 Mon Sep 17 00:00:00 2001 From: "guorong.zheng" <360996299@qq.com> Date: Thu, 2 Jan 2025 17:38:25 +0800 Subject: [PATCH] chore:ipv type(#781) --- README.md | 2 +- README_en.md | 2 +- config/config.ini | 2 +- docs/config.md | 2 +- docs/config_en.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c24320353a..8e57438aa8 100644 --- a/README.md +++ b/README.md @@ -176,7 +176,7 @@ https://cdn.jsdelivr.net/gh/Guovin/iptv-api@gd/source.json | ipv6_num | 结果中偏好的 IPv6 接口数量 | 5 | | ipv6_support | 强制认为当前网络支持IPv6,跳过检测 | False | | ipv_type | 生成结果中接口的协议类型,可选值:ipv4、ipv6、全部、all | 全部 | -| ipv_type_prefer | 接口协议类型偏好,优先将该类型的接口排在结果前面,可选值:IPv4、IPv6、自动、auto | 自动 | +| ipv_type_prefer | 接口协议类型偏好,优先将该类型的接口排在结果前面,可选值:ipv4、ipv6、自动、auto | 自动 | | min_resolution | 接口最小分辨率,需要开启 open_filter_resolution 才能生效 | 1920x1080 | | min_speed | 接口最小速率(单位M/s),需要开启 open_filter_speed 才能生效 | 0.2 | | multicast_num | 结果中偏好的组播源接口数量 | 10 | diff --git a/README_en.md b/README_en.md index 90bb3699b8..1fae56a817 100644 --- a/README_en.md +++ b/README_en.md @@ -176,7 +176,7 @@ https://cdn.jsdelivr.net/gh/Guovin/iptv-api@gd/source.json | ipv6_num | The preferred number of IPv6 interfaces in the result | 5 | | ipv6_support | It is forced to consider that the current network supports IPv6 and skip the check | False | | ipv_type | The protocol type of interface in the generated result, optional values: ipv4, ipv6, all | all | -| ipv_type_prefer | Interface protocol type preference, prioritize interfaces of this type in the results, optional values: IPv4, IPv6, auto | auto | +| ipv_type_prefer | Interface protocol type preference, prioritize interfaces of this type in the results, optional values: ipv4, ipv6, auto | auto | | min_resolution | Minimum interface resolution, requires enabling open_filter_resolution to take effect | 1920x1080 | | min_speed | Minimum interface speed (M/s), requires enabling open_filter_speed to take effect | 0.2 | | multicast_num | The number of preferred multicast source interfaces in the results | 10 | diff --git a/config/config.ini b/config/config.ini index 45fbe85375..de46bffa38 100644 --- a/config/config.ini +++ b/config/config.ini @@ -65,7 +65,7 @@ ipv6_num = 5 ipv6_support = False # 生成结果中接口的协议类型,可选值:ipv4、ipv6、全部、all | Protocol type of the interface in the generated result, optional values: ipv4, ipv6, 全部, all ipv_type = 全部 -# 接口协议类型偏好,优先将该类型的接口排在结果前面,可选值:IPv4、IPv6、自动、auto | Interface protocol type preference, prefer to put this type of interface in front of the result, optional values: IPv4, IPv6, 自动, auto +# 接口协议类型偏好,优先将该类型的接口排在结果前面,可选值:ipv4、ipv6、自动、auto | Interface protocol type preference, prefer to put this type of interface in front of the result, optional values: ipv4, ipv6, 自动, auto ipv_type_prefer = 自动 # 接口最小分辨率,需要开启 open_filter_resolution 才能生效 | Minimum resolution of the interface, need to enable open_filter_resolution to take effect min_resolution = 1920x1080 diff --git a/docs/config.md b/docs/config.md index 519c292149..db997b4224 100644 --- a/docs/config.md +++ b/docs/config.md @@ -32,7 +32,7 @@ | ipv6_num | 结果中偏好的 IPv6 接口数量 | 5 | | ipv6_support | 强制认为当前网络支持IPv6,跳过检测 | False | | ipv_type | 生成结果中接口的协议类型,可选值:ipv4、ipv6、全部、all | 全部 | -| ipv_type_prefer | 接口协议类型偏好,优先将该类型的接口排在结果前面,可选值:IPv4、IPv6、自动、auto | 自动 | +| ipv_type_prefer | 接口协议类型偏好,优先将该类型的接口排在结果前面,可选值:ipv4、ipv6、自动、auto | 自动 | | min_resolution | 接口最小分辨率,需要开启 open_filter_resolution 才能生效 | 1920x1080 | | min_speed | 接口最小速率(单位M/s),需要开启 open_filter_speed 才能生效 | 0.2 | | multicast_num | 结果中偏好的组播源接口数量 | 10 | diff --git a/docs/config_en.md b/docs/config_en.md index d98ff35ece..e165697e69 100644 --- a/docs/config_en.md +++ b/docs/config_en.md @@ -32,7 +32,7 @@ | ipv6_num | The preferred number of IPv6 interfaces in the result | 5 | | ipv6_support | It is forced to consider that the current network supports IPv6 and skip the check | False | | ipv_type | The protocol type of interface in the generated result, optional values: ipv4, ipv6, all | all | -| ipv_type_prefer | Interface protocol type preference, prioritize interfaces of this type in the results, optional values: IPv4, IPv6, auto | auto | +| ipv_type_prefer | Interface protocol type preference, prioritize interfaces of this type in the results, optional values: ipv4, ipv6, auto | auto | | min_resolution | Minimum interface resolution, requires enabling open_filter_resolution to take effect | 1920x1080 | | min_speed | Minimum interface speed (M/s), requires enabling open_filter_speed to take effect | 0.2 | | multicast_num | The number of preferred multicast source interfaces in the results | 10 |