diff options
author | 2002-12-05 15:28:00 +0000 | |
---|---|---|
committer | 2002-12-05 15:28:00 +0000 | |
commit | 856c8c7c424c5d14cf1cc07fb4b1887fcac4d69f (patch) | |
tree | 1d959b40d369fdc4a9a93523f75e3e3fbe513313 /lib/libc | |
parent | change self test to use pfX.ok as input; ok henning@ (diff) | |
download | wireguard-openbsd-856c8c7c424c5d14cf1cc07fb4b1887fcac4d69f.tar.xz wireguard-openbsd-856c8c7c424c5d14cf1cc07fb4b1887fcac4d69f.zip |
fix a small cosmetic problem. if ifa_lookup was called in LOOKUP_NET mode,
it would return things like 127.0.0.1/8. when 127.0.0.1/8 is passed through
the new selftests, it becomes 127.0.0.0/8.
fix: instead of just copying addr.mask in ifa_lookup, use set_ipmask, so it
is 127.0.0.0/8 from the beginning on.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions