Use an C99 anonymous union inside struct bgpd_addr
authorclaudio <claudio@openbsd.org>
Tue, 13 Feb 2024 16:35:43 +0000 (16:35 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 13 Feb 2024 16:35:43 +0000 (16:35 +0000)
commit660f4b3c4ebfb5ad23635ac212012bb9d9260b3e
tree38e479b22c724c83f9149d031b40ceefebdae4cd
parentb6c0962af4f35b7f6fd4d125813a2bc18863bdf8
Use an C99 anonymous union inside struct bgpd_addr

This kills the two far to generic v4 and v6 macros which is a big win.
OK tb@
usr.sbin/bgpd/bgpd.h
usr.sbin/bgpd/pftable.c