f-57: subnet: entrée FDB locale pour la MAC anycast, route du subnet émise depuis la gateway, contrôle watchdog #57
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
efad4efc13
commit
3ce390cb40
8 changed files with 133 additions and 3 deletions
16
internal/netif/fdb_other.go
Normal file
16
internal/netif/fdb_other.go
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
//go:build !linux
|
||||
|
||||
package netif
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"net"
|
||||
)
|
||||
|
||||
func BridgeAddLocalMAC(_ string, _ net.HardwareAddr) error {
|
||||
return errors.New("not supported on this platform")
|
||||
}
|
||||
|
||||
func BridgeHasLocalMAC(_ string, _ net.HardwareAddr) (bool, error) {
|
||||
return false, errors.New("not supported on this platform")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue