Pārlūkot izejas kodu

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

Jason Penton 11 gadi atpakaļ
vecāks
revīzija
70f7dbedd7
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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;
 	return p;
 }
 }