Files
openlan/pkg/network/vrf_others.go
2025-04-13 15:33:35 +08:00

21 lines
237 B
Go

//go:build !linux
package network
type VRF struct {
name string
table int
}
func NewVRF(name string, table int) *VRF {
return &VRF{}
}
func (v *VRF) Table() int {
return v.table
}
func (v *VRF) Name() string {
return v.name
}