Commit Graph

6 Commits

Author SHA1 Message Date
Denis Ovsienko
83bec9d56c refine some past NDO conversions
Don't include unneeded headers and replace a few remaining printf's.
2014-03-12 18:11:23 +04:00
Denis Ovsienko
6e12d87355 CARP: NDOize 2014-02-25 18:23:45 +04:00
Denis Ovsienko
69f6f4392a don't include addrtoname.h needlessly 2014-02-25 17:53:08 +04:00
Guy Harris
6ef9496912 Don't include <unistd.h>.
On UN*X, <tcpdump-stdinc.h> already includes it; on Windows, it doesn't
exist, and therefore shouldn't be included.

Thanks and a tip of the Hatlo hat to Gisle Vanem for this.
2013-07-03 12:11:56 -07:00
Denis Ovsienko
9a68bf303a CARP: fix Windows compile error
(the issue was discovered by Gisle Vanem)
netinet/in.h shouldn't be included during a Windows compile. The fix is
to remove the #include from print-carp.c and let tcpdump-stdinc.h do its
job.
2013-07-03 20:47:11 +04:00
George Neville-Neil
5d52dbf4c7 Add a CARP dissector and a command-line option to dissect proto 112 as CARP.
CARP and VRRP both use IP protocol number 112, so there needs to be a -T
flag to specify that protocol 112 be dissected as CARP rather than VRRP.

Also update the man page.
2011-11-23 11:53:13 -08:00