Sfoglia il codice sorgente

modules/cdp: omitted last_selected time when choosing a loadbalanced peer

Jason Penton 11 anni fa
parent
commit
70f7dbedd7
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      modules/cdp/routing.c

+ 1 - 0
modules/cdp/routing.c

@@ -123,6 +123,7 @@ peer* get_first_connected_route(routing_entry *r,int app_id,int vendor_id)
 		}
 	}
 
+	p->last_selected = time(NULL);
 	return p;
 }