mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-07-04 17:07:47 +00:00
Add session firewall (extra security for controlling traffic flow to/from a given node)
This commit is contained in:
@ -164,7 +164,7 @@ func (iface *tcpInterface) call(saddr string, socksaddr *string, sintf string) {
|
||||
if err != nil {
|
||||
return
|
||||
} else {
|
||||
if ief.Flags & net.FlagUp == 0 {
|
||||
if ief.Flags&net.FlagUp == 0 {
|
||||
return
|
||||
}
|
||||
addrs, err := ief.Addrs()
|
||||
|
Reference in New Issue
Block a user