two/internal/netif/fdb_other.go
GnomeZworc 5ee8df4b2b
f-42: natgw: entrée FDB de la passerelle posée par remplacement #42
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
2026-10-30 00:23:46 +01:00

24 lines
553 B
Go

//go:build !linux
package netif
import (
"errors"
"net"
)
func BridgeAddLocalMAC(_ string, _ net.HardwareAddr) error {
return errors.New("not supported on this platform")
}
func BridgeHasLocalMAC(_ string, _ net.HardwareAddr) (bool, error) {
return false, errors.New("not supported on this platform")
}
func BridgeDelLocalMACIfExists(_ string, _ net.HardwareAddr) error {
return errors.New("not supported on this platform")
}
func BridgeSetLocalMAC(_ string, _ net.HardwareAddr) error {
return errors.New("not supported on this platform")
}