Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geoip文件如何分离IPv4和IPv6? #70

Closed
lucky-beans opened this issue Aug 17, 2023 · 1 comment
Closed

geoip文件如何分离IPv4和IPv6? #70

lucky-beans opened this issue Aug 17, 2023 · 1 comment

Comments

@lucky-beans
Copy link

没有找到单独使用geoip文件中IPv4数据的方法

@Loyalsoldier
Copy link
Collaborator

在配置文件的 output 数组中添加如下配置,即可为该 type 分离 IPv4 和 IPv6。所有 type 都支持使用 onlyIPType

{
  "type": "修改为你想要的类型",
  "action": "output",
  "args": {
    "onlyIPType": "ipv4"
  }
},
{
  "type": "修改为你想要的类型",
  "action": "output",
  "args": {
    "onlyIPType": "ipv6"
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants