Passing argv as tripple indirect pointer to match_token() is just strange.
authorclaudio <claudio@openbsd.org>
Mon, 17 Apr 2023 11:02:40 +0000 (11:02 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 17 Apr 2023 11:02:40 +0000 (11:02 +0000)
commit22c4f340c19e4b76b30571d6b02c317814876a51
tree2745793dee23e167ccd71a300a1fde81d9e9eb89
parentbddeed9ce6abcd95ed362579a1365c0999a8230b
Passing argv as tripple indirect pointer to match_token() is just strange.
Instead pass argc and argv as value and return the consumed number of
arguments in argsused (normally 1).
OK tb@
usr.sbin/bgpctl/parser.c