Use inet_pton to parse ext-communities with an IPv4 address.
authorflorian <florian@openbsd.org>
Wed, 21 Aug 2024 09:17:05 +0000 (09:17 +0000)
committerflorian <florian@openbsd.org>
Wed, 21 Aug 2024 09:17:05 +0000 (09:17 +0000)
commitb840faef38192fa76a691b2f27ee9b13dde56d0e
treeeecd8abe4ac46058230451affc976e30db393b79
parent9c33e07143f5fc5de504b592724e392d9cc6f8a4
Use inet_pton to parse ext-communities with an IPv4 address.

No need for inet_aton's flexibility.
OK claudio
usr.sbin/bgpctl/parser.c
usr.sbin/bgpd/parse.y