Skip to content
New issue

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

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

Already on GitHub? # to your account

protocol == 6 #937

Open
likhita-8091 opened this issue Dec 27, 2019 · 0 comments
Open

protocol == 6 #937

likhita-8091 opened this issue Dec 27, 2019 · 0 comments

Comments

@likhita-8091
Copy link

	for _, proto := range rule.Protocols {
		// TODO: 有疑惑。设置受trireme保护的网络作用域会调用此方法,而且协议等于6,但是生成puContext也会调用此方法,协议不可能等于6。这个单一判断无法同时满足。。
		//if strings.ToLower(proto) != constants.TCPProtoNum {
		//	continue
		//}
		for _, address := range rule.Addresses {
			for _, port := range rule.Ports {
				if err := addCache(address, port); err != nil {
					return err
				}
			}
		}
	}
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant