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

-4, --ipset-name4 <ipv4-setname> 这个参数不使用也是默认在用吗? #32

Closed
blog2i2j opened this issue Feb 28, 2020 · 1 comment

Comments

@blog2i2j
Copy link

blog2i2j commented Feb 28, 2020

请教作者

-4, --ipset-name4 ipset ipv4 set name, default: chnroute
说明文档中说该参数默认是 chnroute, 如果我在命令行中不使用-4, 程序也是默认使用chnroute的吗? 还是说命令行中没有-4 就不使用ipset了? 只是在用-4 不指定时默认chnroute?

我想问的意思是是不是不管命令行有没有-4的参数, 这个ipset都是起作用的?

@zfl9
Copy link
Owner

zfl9 commented Feb 28, 2020

ipset 始终是必须的,只有 gfwlist/chnlist 是可选的。即:

  • 未指定 -4 选项,则默认使用 chnroute 这个 ipset
  • 指定了 -4 选项,但未提供选项值,则直接启动报错
  • 指定了 -4 选项,且选项值为 chnroute,则同默认情况
  • 指定了 -4 选项,且选项值为 xxx,则使用 xxx 这个 ipset

@zfl9 zfl9 closed this as completed Feb 28, 2020
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