f-41: netif: stub RouteAdd en erreur hors Linux #41
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
853a1b8377
commit
45a7f40f43
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func RouteAdd(_ string, _ *net.IPNet) error {
|
func RouteAdd(_ string, _ *net.IPNet) error {
|
||||||
return nil
|
return errors.New("not supported on this platform")
|
||||||
}
|
}
|
||||||
|
|
||||||
func TableRoutesVia(_ int, _ string) ([]*net.IPNet, error) {
|
func TableRoutesVia(_ int, _ string) ([]*net.IPNet, error) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue