@@ -133,6 +133,7 @@ func createEgress(w http.ResponseWriter, r *http.Request) {
Action: models.EgressUpdate,
Host: *host,
EgressID: e.ID,
+ Domain: e.Domain,
Node: node,
})
}
@@ -12,5 +12,4 @@ type EgressReq struct {
Nat bool `json:"nat"`
Status bool `json:"status"`
IsInetGw bool `json:"is_internet_gateway"`
- Dns string `json:"dns"`
@@ -145,6 +145,7 @@ type HostUpdate struct {
Node Node
Signal Signal
EgressID string
+ Domain string
NewMetrics Metrics