f-41: netif: stub RouteAdd en erreur hors Linux #41
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
387a082c02
commit
2e14f6a543
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue