auto-redirect: Add route address set support for nftables
This commit is contained in:
parent
85fe25a592
commit
85f5f2dd58
14 changed files with 1255 additions and 426 deletions
|
|
@ -154,9 +154,9 @@ func (m *defaultInterfaceMonitor) checkUpdate() error {
|
|||
if routeMessage.Flags&unix.RTF_GATEWAY == 0 {
|
||||
continue
|
||||
}
|
||||
if routeMessage.Flags&unix.RTF_IFSCOPE != 0 {
|
||||
// continue
|
||||
}
|
||||
// if routeMessage.Flags&unix.RTF_IFSCOPE != 0 {
|
||||
//continue
|
||||
//}
|
||||
defaultInterface = routeInterface
|
||||
break
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue