mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
c6cc455dd191fbea56ee14a0ef88a7d655a6fe9a
msg_controllen should be set using CMSG_SPACE() to account for padding. RFC3542 provides more details: While sending an application may or may not include padding at the end of last ancillary data in msg_controllen and implementations must accept both as valid. At least OpenBSD rejects control messages if msg_controllen doesn't account for padding, so use CMSG_SPACE() for maximal portability. This is consistent with the example provided in the Linux cmsg(3) manpage.
Description
No description provided
Languages
C
94.2%
Perl
2.3%
HTML
1.2%
Shell
1.1%
Makefile
0.6%
Other
0.6%