Преглед изворни кода

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

Jason Penton пре 11 година
родитељ
комит
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;
 }