Commit graph

2 commits

Author SHA1 Message Date
Guy Harris
83fc9d5e09 Constify a bunch of stuff, to squelch -Wwrite-strings warnings.
epan/dissectors/packet-ncp2222.inc is a bit hard to fix, so we're not
ready to enable that warning by default yet.

Throw in some casts to handle GLib routines that take arbitrary
non-const pointers (they can later return the pointers, and some
callers might want to modify or free up those pointers in cases where
they're known to be writable or allocated).

Use ep_tvb_memdup() rather than a combination of ep_alloc() and
tvb_memcpy().

Clean up some indentation.

svn path=/trunk/; revision=25601
2008-06-25 09:12:35 +00:00
Stephen Fisher
6785ffd796 Wake on LAN (WOL): New dissector from Chris Maynard via -dev list and
enhancement bug #1968

Me: Added entries in epan/etypes.h and epan/dissectors/packet-ethertype.c
for WOL.


svn path=/trunk/; revision=23371
2007-11-06 05:30:04 +00:00