summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getopt_long.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2002-12-05 15:28:00 +0000
committerhenning <henning@openbsd.org>2002-12-05 15:28:00 +0000
commit856c8c7c424c5d14cf1cc07fb4b1887fcac4d69f (patch)
tree1d959b40d369fdc4a9a93523f75e3e3fbe513313 /lib/libc/stdlib/getopt_long.c
parentchange self test to use pfX.ok as input; ok henning@ (diff)
downloadwireguard-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/stdlib/getopt_long.c')
0 files changed, 0 insertions, 0 deletions