summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc
diff options
context:
space:
mode:
authorLawrence Teo <lteo@cvs.openbsd.org>2014-06-05 03:36:47 +0000
committerLawrence Teo <lteo@cvs.openbsd.org>2014-06-05 03:36:47 +0000
commit2d32938dac145ed9dd08119fd4ca8ab756e4ce24 (patch)
treeebd0f0c03b21d8dfba76ad3091ea70478c5eaa67 /usr.bin/mandoc
parentc5e4dba7acbb3da88c94dddf85bbe41cdacaa411 (diff)
Improve the divert(4) example program:
- Remove unnecessary includes - bzero -> memset - Better sanity checks and return value checks - Use the tcphdr struct instead of tcpiphdr so that the program will work even if there are IP options - Use more conventional variable names and buffer sizes Also add myself to the copyright. ok deraadt@ sthen@
Diffstat (limited to 'usr.bin/mandoc')
0 files changed, 0 insertions, 0 deletions