Ethereal-dev: [Ethereal-dev] New Dissector: Dumb Question

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Alex Kirk <alex@xxxxxxxxxxxx>
Date: Mon, 24 Jan 2005 15:48:58 -0500
Hello All,

Sorry to bother the list with something so basic, but I've got a quick question
on writing a new dissector. I've added my source file to
epan/dissectors/Makefile.common as suggested by README.developer (I was actually
able to get ./configure to do this for me by just adding my source file to a
fresh download of 0.10.9), and proto_register_wins() is all happily filled out,
including a call to proto_register_protocol. I've even filled in
proto_reg_handoff_wins(), complete with a call to dissector_add("tcp.port",
TCP_PORT_WINS, wins_handle) (yes, TCP_PORT_WINS is defined). However, register.c
has no entry for my registration, and there's no sign of the dissector within my
freshly built copy of Ethereal.

Have I missed something very obvious here? If so, what do I need to do? If not,
what the heck is going on?

Thanks,
Alex Kirk