2
0
Эх сурвалжийг харах

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

Jason Penton 11 жил өмнө
parent
commit
70f7dbedd7
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  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;
 }