Merge getcommunity() and getlargecommunity() into one function that
authorclaudio <claudio@openbsd.org>
Wed, 8 Aug 2018 13:52:30 +0000 (13:52 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 8 Aug 2018 13:52:30 +0000 (13:52 +0000)
commit03707ea2acce36b858b42fe91b00aee9bf8ebf20
treec968083381e518f00d24656429fd41e2ff0e921d
parent9b84c3c2c4bb8b79bd71af6d1c90d3255065a1c2
Merge getcommunity() and getlargecommunity() into one function that
takes a flag if it is large or not. Makes code more reusable.
usr.sbin/bgpd/parse.y