> I am trying to add new dissectors for PPP Multiplexing and PPPMuxCP
> on Ethereal , and I am modifying packet-ppp.c for the same. However, the
> changes I made are not getting reflected when I run Ethereal. I have
> tried modifying existing PPP code ( by making modifications to protocol
> names etc.), however these changes are also not reflected. I can see the
> file is getting compiled, and linked. Am I missing something here ? Is
> there anything that I need to do other that just doing a make?
Make sure you're running the version of Ethereal that's been compiled,
rather than some other version installed on your machine?
hostname$ cd ~/src/cmd/ethereal
hostname$ which ethereal
/usr/local/bin/ethereal
hostname$ ethereal -v
ethereal 0.8.9, with GTK+ 1.2.7, with libpcap 0.4, with libz 1.1.3, with CMU SNMP V1.11, Shared (1:11:0)
hostname$ ./ethereal -v
ethereal 0.8.20, with GTK+ 1.2.7, with GLib 1.2.8, with libpcap 0.4, with libz 1.1.3, without SNMP
Were I to change the source in "~/src/cmd/ethereal", recompile Ethereal,
and run the command "ethereal", none of those changes would show up in
the version of Ethereal I run, because I'd be running the old version
installed in "/usr/local/bin" on the machine in question, not the
version in my source directory.
If your command search path setting doesn't have the current directory
before any directory that might have a version of Ethereal installed in
it ("/usr/bin", "/usr/local/bin", "/usr/X11R6/bin", etc.), then
"ethereal", without "./" in front of it, might not find the version of
Ethereal in the current directory.