diff options
author | 2012-08-20 18:18:16 +0000 | |
---|---|---|
committer | 2012-08-20 18:18:16 +0000 | |
commit | 8e418b12cc7407849e4184ae471ad9b90ab10d11 (patch) | |
tree | 4885f2c0e21a40642fe3c6249e5ea2900d2a7bf0 /lib/libc | |
parent | - fix the example filter to match current API (diff) | |
download | wireguard-openbsd-8e418b12cc7407849e4184ae471ad9b90ab10d11.tar.xz wireguard-openbsd-8e418b12cc7407849e4184ae471ad9b90ab10d11.zip |
Do not send more bytes than necessary with IMSG_STAT_*. The INCREMENT
and DECREMENT messages just contain the key with the ending zero. For
IMSG_STAT_SET, the value is found at the beginning of the message, and
the rest is the key.
ok gilles@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions