commit | e3443a21552b6a3cd6ebdbb98336eede217a478f | [log] [tgz] |
---|---|---|
author | Timo Teräs <timo.teras@iki.fi> | Wed Oct 19 16:02:34 2016 +0300 |
committer | Paul Jakma <paul@quagga.net> | Mon Jan 23 18:51:51 2017 +0000 |
tree | 7465134a450f779b9fc314819aa1f1e1c5c956e3 | |
parent | c9cc52af9edf0f23a1434c944812064de220a7bf [diff] |
bgpd: simplify ebgp-multihop and ttl-security handling Change to track configured value in ->ttl and ->gtsm_hops; not the value set to sockopt. Instead, setting of socket's ttl and minttl options are now merged to one function which calculates it on demand. This greatly simplifies the code.