There is no need to have bgpd running when running bgpctl show mrt.
authorclaudio <claudio@openbsd.org>
Fri, 20 Jul 2018 12:42:45 +0000 (12:42 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 20 Jul 2018 12:42:45 +0000 (12:42 +0000)
commit30868731d783caa65a905ce6075f9b8aeefe6a89
tree202617dedfe7ce427104ed5e019928a4ca840d5a
parentf3de9d7dd81d004e964f4bd559c4dd6d7cb610e1
There is no need to have bgpd running when running bgpctl show mrt.
The first thing the code actually does is closing the socket. Instead
move the code up to where currently the IRR filter code is.
Additionally change the late pledges to just stdio since nothing after
that needs rpath or wpath.
OK benno@
usr.sbin/bgpctl/bgpctl.c