diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-04-02 17:22:31 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-04-02 17:22:31 +0200 |
commit | a22c3e59683d0ea6c379a37f990e74a6d281ccef (patch) | |
tree | e1d5a1195b18c7da83f9d721b2830e92e9a57466 /proto/bgp/attrs.c | |
parent | 3a22a6e858cd703d254ab331183ccd56fe195c6b (diff) |
BGP: Separate runtime and config usage of local/remote ip and as fields
Diffstat (limited to 'proto/bgp/attrs.c')
-rw-r--r-- | proto/bgp/attrs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c index cbb22038..64a25995 100644 --- a/proto/bgp/attrs.c +++ b/proto/bgp/attrs.c @@ -1733,7 +1733,7 @@ bgp_rte_better(rte *new, rte *old) return 0; /* RFC 4271 9.1.2.2. g) Compare peer IP adresses */ - return (ipa_compare(new_bgp->cf->remote_ip, old_bgp->cf->remote_ip) < 0); + return ipa_compare(new_bgp->remote_ip, old_bgp->remote_ip) < 0; } |