diff options
author | 2019-11-06 14:51:22 +0000 | |
---|---|---|
committer | 2019-11-06 14:51:22 +0000 | |
commit | 55a58ba7f67016513c99b98723ba9a9cfa9a9477 (patch) | |
tree | bf1ee2960ad37e54fc429cb9c138bc777e37883b /sys/net/if_bpe.c | |
parent | Rename "asr" to "stub" in user visible parts. (diff) | |
download | wireguard-openbsd-55a58ba7f67016513c99b98723ba9a9cfa9a9477.tar.xz wireguard-openbsd-55a58ba7f67016513c99b98723ba9a9cfa9a9477.zip |
Fix RTA_DNS checks:
Do not overwrite the address family, we need to know if this is IPv4
or IPv6 to parse the message.
Nameservers are IP addresses, not NUL-terminated strings.
Check that the length is a multiple of the length of an IP address.
OK krw
Diffstat (limited to 'sys/net/if_bpe.c')
0 files changed, 0 insertions, 0 deletions