Update linter configuration

This commit is contained in:
世界 2024-09-14 14:40:11 +08:00
parent aaaacba916
commit f845cffeac
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
5 changed files with 54 additions and 36 deletions

View file

@ -712,7 +712,7 @@ func (t *NativeTun) rules() []*netlink.Rule {
it.Family = unix.AF_INET
rules = append(rules, it)
}
priority++
// priority++
}
if p6 {
it = netlink.NewRule()
@ -755,7 +755,7 @@ func (t *NativeTun) rules() []*netlink.Rule {
it.Table = t.options.IPRoute2TableIndex
it.Family = unix.AF_INET6
rules = append(rules, it)
priority6++
// priority6++
}
if p4 {
it = netlink.NewRule()