Преглед на файлове

added egressroute and fwupdate to hostpull handler

Farukh Khan преди 1 година
родител
ревизия
b17aeff3ef
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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")