From 2e14f6a543f91cfabd41cebf0935f68db54ec203 Mon Sep 17 00:00:00 2001 From: GnomeZworc Date: Mon, 12 Oct 2026 12:23:53 +0200 Subject: [PATCH] f-41: netif: stub RouteAdd en erreur hors Linux #41 Signed-off-by: GnomeZworc --- internal/netif/route_other.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/netif/route_other.go b/internal/netif/route_other.go index 71daec7..dcfd025 100644 --- a/internal/netif/route_other.go +++ b/internal/netif/route_other.go @@ -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) {