summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_ipip.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2001-04-14 00:11:40 +0000
committermiod <miod@openbsd.org>2001-04-14 00:11:40 +0000
commit509a3b5fbe35b6a52661c4a77af57f52002f2f65 (patch)
tree9b230a1fe4e39fb80840bb6429c41ea27776c8b0 /sys/netinet/ip_ipip.c
parentRemove defopt; aaron@ ok. (diff)
downloadwireguard-openbsd-509a3b5fbe35b6a52661c4a77af57f52002f2f65.tar.xz
wireguard-openbsd-509a3b5fbe35b6a52661c4a77af57f52002f2f65.zip
Correctly initialize disklabel structure in readdisklabel().
Prevents kernel from panic'ing or disklabel(1) from faulting with an empty (never labaled) disk. Also, use LABELSECTOR instead of hardwired constant. Tested by deraadt@ on mvme68k and myself on mvme88k, deraadt@ ok
Diffstat (limited to 'sys/netinet/ip_ipip.c')
0 files changed, 0 insertions, 0 deletions