Explorar o código

add peerkey to network egress routes model

abhishek9686 hai 5 meses
pai
achega
041dd71638
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      models/mqtt.go

+ 1 - 0
models/mqtt.go

@@ -70,6 +70,7 @@ type EgressInfo struct {
 
 // EgressNetworkRoutes - struct for egress network routes for adding routes to peer's interface
 type EgressNetworkRoutes struct {
+	PeerKey                string              `json:"peer_key"`
 	EgressGwAddr           net.IPNet           `json:"egress_gw_addr" yaml:"egress_gw_addr"`
 	EgressGwAddr6          net.IPNet           `json:"egress_gw_addr6" yaml:"egress_gw_addr6"`
 	NodeAddr               net.IPNet           `json:"node_addr"`