summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2015-02-11 05:56:27 +0000
committerclaudio <claudio@openbsd.org>2015-02-11 05:56:27 +0000
commit438a503ed94455a38bff8ef5207586292553a65c (patch)
treec40cdefb3e383c272bcebf129f03c3a43f83d762 /lib/libc
parentdeprecate use of sys/lock.h and replace it with sys/atomic.h or (diff)
downloadwireguard-openbsd-438a503ed94455a38bff8ef5207586292553a65c.tar.xz
wireguard-openbsd-438a503ed94455a38bff8ef5207586292553a65c.zip
Use sizeof(u_short) in the first check since there are RT messages that
are less then sizeof(*rtm) bytes long (e.g. interface announcements). Found the hard way by phessler@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions