f-28: add GetDefaultGateway to netif

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-05-18 22:49:21 +02:00
commit c0caf1a24c
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,12 @@
//go:build !linux
package netif
import (
"fmt"
"net"
)
func GetDefaultGateway() (net.IP, error) {
return nil, fmt.Errorf("not supported on this platform")
}