Joerg Mayer wrote:
> As a small exercise, I've tried to write a dissector for the rdate
> protocol - and failed:
> When I start tethereal, it dies with the following message:
>
> ** ERROR **: file proto.c: line 2227 (proto_register_protocol): assertion
failed: (g_list_find_custom(protocols, name, proto_match_name) == NULL)
> aborting...
>
There is already a dissector registering with name "Time Protocol":
packet-time.c:
============
proto_time = proto_register_protocol("Time Protocol", "TIME", "time");
So you have to do some change to your proto_register_protocol, e.g.
something like
proto_rdate = proto_register_protocol("RDATE Time Protocol",
"RDATE", "rdate");
_______________________________________________
Ethereal-dev mailing list
[EMAIL PROTECTED]
http://www.ethereal.com/mailman/listinfo/ethereal-dev