Use prefix_nexthop() to access the nexthop instead of dereferencing the
authorclaudio <claudio@openbsd.org>
Tue, 24 Jul 2018 10:10:58 +0000 (10:10 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 24 Jul 2018 10:10:58 +0000 (10:10 +0000)
commit3447165f4e5b8907d3007ad71fb1204e11f7d41b
treebeca1e815776a6271e3dcc6933bca29d6c87814d
parent88d4e2f324365ab97d8f85dbcea11c62bc7426c6
Use prefix_nexthop() to access the nexthop instead of dereferencing the
field in asp directly. This is a step to move the prefix from rde_aspath
to struct prefix.
OK benno@
usr.sbin/bgpd/mrt.c
usr.sbin/bgpd/rde.c
usr.sbin/bgpd/rde_decide.c