commit | 0edba8b6ad9c83fa0a3cc58765fe9f123f4109ac | [log] [tgz] |
---|---|---|
author | Timo Teräs <timo.teras@iki.fi> | Thu Oct 22 11:35:17 2015 +0300 |
committer | Donald Sharp <sharpd@cumulusnetworks.com> | Tue Dec 08 14:11:18 2015 -0500 |
tree | 52e0410279dc9b20ba0bc8453e0e0c1f72e081cb | |
parent | 983525e8b560fc44d2214ca3f6d72af809b6ebd9 [diff] |
bgpd: check rtt later after the real peer is known OPEN message handler moves the connection from the temporary "struct peer" (used to accept it) to the real "struct peer" based on the configuration. RTT needs to be updated only to the real struct peer, and this patch moves the RTT query to point where realpeer is known. Fixes: ef757700d0 "bgpd: allow using rtt in route-map's set metric" Signed-off-by: Timo Teräs <timo.teras@iki.fi>