Ethereal-dev: [ethereal-dev] Two patches for "cleaner" protocol adding

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

Date: Mon, 6 Mar 2000 17:06:56 +0100
These are two patches concerning the topic I discussed last week in 
http://ethereal.zing.org/lists/ethereal-dev/200002/msg00225.html

This does not break 0.8.4, and it lets upd-based protocols add themselves 
to the hash (in proto_register_PROTO), instead of the developer having to add them by hand in packet-udp.c

This is not the best solution, but it works for the moment.

BTW the filename for the UDP patchfile is incorrect, change .c to .h  ;-)


-- 
Andreas Sikkema
andreas.sikkema@xxxxxxxxxxx
"Any PC built after 1985 has the storage capacity to house an evil spirit," 
Rev. Jim Peasboro in http://www.weeklyworldnews.com/stories/1745.html

Attachment: packet-udp.c.patch
Description: Binary data

Attachment: gtk_main.c.patch
Description: Binary data