]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: factor out TTL setting
authorDavid Lamparter <equinox@opensourcerouting.org>
Mon, 19 May 2014 20:52:04 +0000 (22:52 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Mon, 19 May 2014 21:25:46 +0000 (23:25 +0200)
commitef0b0c3e95a1f30d6f338100c689feef8ad5cd6e
tree9848b1d05c2e1424e464cac41be51f32d7b87d78
parent8da8689d91a6436c17aca5000b1426aaea47e23c
bgpd: factor out TTL setting

TTL/min TTL are set from both bgp_accept() and bgp_connect().  Factor
them out so the following change to enable iBGP GTSM becomes more
readable.

[DL: originally by Dinesh G Dutt <ddutt@cumulusnetworks.com>,
     split off from the next commit]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/bgp_network.c