|
@@ -39,7 +39,6 @@ type EgressInfo struct {
|
|
|
type PeerRouteInfo struct {
|
|
|
PeerAddr net.IPNet `json:"peer_addr" yaml:"peer_addr"`
|
|
|
PeerKey string `json:"peer_key" yaml:"peer_key"`
|
|
|
- Network string `json:"network" yaml:"network"`
|
|
|
Allow bool `json:"allow" yaml:"allow"`
|
|
|
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
|
|
}
|
|
@@ -48,7 +47,6 @@ type PeerRouteInfo struct {
|
|
|
type ExtClientInfo struct {
|
|
|
IngGwAddr net.IPNet `json:"ingress_gw_addr" yaml:"ingress_gw_addr"`
|
|
|
Network net.IPNet `json:"network" yaml:"network"`
|
|
|
- NetworkName string `json:"network_name"`
|
|
|
Masquerade bool `json:"masquerade" yaml:"masquerade"`
|
|
|
ExtPeerAddr net.IPNet `json:"ext_peer_addr" yaml:"ext_peer_addr"`
|
|
|
ExtPeerKey string `json:"ext_peer_key" yaml:"ext_peer_key"`
|