mirror of
https://github.com/luscis/openlan.git
synced 2025-10-06 00:57:03 +08:00
fea: switch: support router network
This commit is contained in:
11
pkg/config/router.go
Normal file
11
pkg/config/router.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package config
|
||||
|
||||
type RouterSpecifies struct {
|
||||
Mss int `json:"tcpMss,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Link string `json:"link,omitempty"`
|
||||
Subnets []Subnet `json:"subnets"`
|
||||
}
|
||||
|
||||
func (n *RouterSpecifies) Correct() {
|
||||
}
|
Reference in New Issue
Block a user