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

error: not rule must contain one rule #80

Closed
htfcuddles opened this issue Jun 8, 2022 · 3 comments
Closed

error: not rule must contain one rule #80

htfcuddles opened this issue Jun 8, 2022 · 3 comments

Comments

@htfcuddles
Copy link

规则如下:

AND,((SRC-IP-CIDR,192.168.2.192/26),(OR,(NETWORK,TCP),(NOT,(DST-PORT,123)))),REJECT
在最新版中报错:error: not rule must contain one rule

截图如下:

image

版本为alpha-g01d2e88(来自OpenClash),之前版本可以正常使用

@MetaCubeX
Copy link
Collaborator

@htfcuddles 你除了and的括号,里面的OR和NOT都好了个括号

@MetaCubeX
Copy link
Collaborator

@htfcuddles 少了个括号

@htfcuddles
Copy link
Author

@MetaCubeX 感谢回复,应该是之前版本没检测出语法错误, 0e1601e 修复了

This issue was closed.
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

1 participant