Use auth_conf.method instead of auth_state.method. The latter is always 0.
authorclaudio <claudio@openbsd.org>
Tue, 1 Oct 2024 18:33:16 +0000 (18:33 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 1 Oct 2024 18:33:16 +0000 (18:33 +0000)
commitd3e7ac1607c7712be912c3f531b3d47c39edb5c5
treed6e9682fcfd283e4b3f9823c186ea0c9d11355c3
parent63c2b4966a546b7f8202748dfbdc90cc8330e285
Use auth_conf.method instead of auth_state.method. The latter is always 0.
usr.sbin/bgpctl/output.c
usr.sbin/bgpctl/output_json.c