f-88: netif: MAC d'IP flottante, règles de routage par source #88
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
ee7ecbf69f
commit
d51359d4f2
5 changed files with 110 additions and 0 deletions
16
internal/netif/rule_other.go
Normal file
16
internal/netif/rule_other.go
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
//go:build !linux
|
||||
|
||||
package netif
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"net"
|
||||
)
|
||||
|
||||
func RuleAddFrom(_ net.IP, _, _ int, _ bool) error {
|
||||
return errors.New("not supported on this platform")
|
||||
}
|
||||
|
||||
func RuleDelFromIfExists(_ net.IP, _, _ int, _ bool) error {
|
||||
return errors.New("not supported on this platform")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue