CVSROOT: /cvs Module name: src Changes by: [email protected] 2014/06/04 21:36:46
Modified files:
share/man/man4 : divert.4
Log message:
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@
