4
0
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:
Neil Alexander
2018-10-07 17:13:41 +01:00
parent 401960e17e
commit 2e2c58bfef
6 changed files with 103 additions and 2 deletions

View File

@ -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()