move the top level pledge, getrtable() works with pledge stdio.
authorbenno <benno@openbsd.org>
Tue, 10 Jul 2018 13:02:14 +0000 (13:02 +0000)
committerbenno <benno@openbsd.org>
Tue, 10 Jul 2018 13:02:14 +0000 (13:02 +0000)
commit445db22e74d57041e62535280bdf79334f2fa4ef
tree1ba840c2466a39f3c0896ed5274fa4ef1f3c7ce7
parentd1b124b3fdd3f51fd21b605bf0d60070c58b27ea
move the top level pledge, getrtable() works with pledge stdio.
ok claudio@ phessler@
usr.sbin/bgpctl/bgpctl.c