f-41: netif: stub RouteAdd en erreur hors Linux #41

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-10-12 12:23:53 +02:00
commit 2e14f6a543
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632

View file

@ -8,7 +8,7 @@ import (
)
func RouteAdd(_ string, _ *net.IPNet) error {
return nil
return errors.New("not supported on this platform")
}
func TableRoutesVia(_ int, _ string) ([]*net.IPNet, error) {