diff options
author | 2015-02-11 05:56:27 +0000 | |
---|---|---|
committer | 2015-02-11 05:56:27 +0000 | |
commit | 438a503ed94455a38bff8ef5207586292553a65c (patch) | |
tree | c40cdefb3e383c272bcebf129f03c3a43f83d762 /lib/libc | |
parent | deprecate use of sys/lock.h and replace it with sys/atomic.h or (diff) | |
download | wireguard-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