Introduce inet4applymask() which does the same as inet6applymask() and
authorclaudio <claudio@openbsd.org>
Tue, 4 Sep 2018 12:00:29 +0000 (12:00 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 4 Sep 2018 12:00:29 +0000 (12:00 +0000)
commit2b5c88fe9e6affc84d40c094ca695ea77e6ab5c2
tree46bdfef5d0822c86fd093fc6c713f85d10c90ee7
parent84471df41c5d9f13dddf47c012e62d7f96463e35
Introduce inet4applymask() which does the same as inet6applymask() and
can be used instead of doing direct fiddling around with struct in_addr.
Use it in a few cases where it makes the code more similar between INET
and INET6 case.
OK denis@
usr.sbin/bgpd/bgpd.h
usr.sbin/bgpd/rde_prefix.c
usr.sbin/bgpd/session.c
usr.sbin/bgpd/util.c