mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-07 16:54:16 +01:00
006ba32086
Fix ACL on routed traffic and code refactor
12 lines
269 B
Go
12 lines
269 B
Go
package firewall
|
|
|
|
import "github.com/netbirdio/netbird/iface"
|
|
|
|
// IFaceMapper defines subset methods of interface required for manager
|
|
type IFaceMapper interface {
|
|
Name() string
|
|
Address() iface.WGAddress
|
|
IsUserspaceBind() bool
|
|
SetFilter(iface.PacketFilter) error
|
|
}
|