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:
GnomeZworc 2026-10-29 21:14:39 +01:00
commit 1aa7f177f9
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
5 changed files with 110 additions and 0 deletions

View 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")
}