Rework how communities are parsed. Use tha fact that argv and argc are
authorclaudio <claudio@openbsd.org>
Mon, 17 Apr 2023 10:23:32 +0000 (10:23 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 17 Apr 2023 10:23:32 +0000 (10:23 +0000)
commitbddeed9ce6abcd95ed362579a1365c0999a8230b
tree6fb6de30dda8027904f80a27e97ca6760d8d8aba
parentd7784223724e0d497dcfa79d51bd3e490224f2be
Rework how communities are parsed. Use tha fact that argv and argc are
available inside match_token() and peek and consume argv[1] and for
ext-communities also argv[2].
OK tb@
usr.sbin/bgpctl/parser.c