Module: sip-router
Branch: master
Commit: 70f7dbedd7c7f188270bf6d3649bd9d67d4c2b7e
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=70f7dbe…
Author: Jason Penton <jason.penton(a)gmail.com>
Committer: Jason Penton <jason.penton(a)gmail.com>
Date: Fri May 30 16:51:20 2014 +0200
modules/cdp: omitted last_selected time when choosing a loadbalanced peer
---
modules/cdp/routing.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/cdp/routing.c b/modules/cdp/routing.c
index 499519a..a0fd7f3 100644
--- a/modules/cdp/routing.c
+++ b/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;
}