Ver código fonte

added egressroute and fwupdate to hostpull handler

Farukh Khan 1 ano atrás
pai
commit
b17aeff3ef
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      controllers/hosts.go

+ 2 - 0
controllers/hosts.go

@@ -129,6 +129,8 @@ func pull(w http.ResponseWriter, r *http.Request) {
 		Peers:           hPU.Peers,
 		PeerIDs:         hPU.PeerIDs,
 		HostNetworkInfo: hPU.HostNetworkInfo,
+		EgressRoutes:    hPU.EgressRoutes,
+		FwUpdate:        hPU.FwUpdate,
 	}
 
 	logger.Log(1, hostID, "completed a pull")