Ethereal-dev: [Ethereal-dev] Little problem understanding registration fortcp.port

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

Date: Mon, 26 Sep 2005 14:49:19 +0200
No problem, I figured it out..works as expected.....

BR,
Lars

-----Ursprüngliche Nachricht-----
Von: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx]Im 
Gesendet: Montag, 26. September 2005 13:42
An: ethereal-dev@xxxxxxxxxxxx
Betreff: [Ethereal-dev] Little problem understanding registration
fortcp.port 


Hi,

currently, I'm using 

dissector_add("tcp.srcport", MY_PORT_USED, my_prot_handle);

in the "proto_reg_handoff" function. I thought this would cause my dissector to be called for appropriate data send via TCP on both source and destination port number MY_PORT_USED. But only packets sent with this destination port are correctly identified. What am I doing wrong? I'm using 0.10.12 on WindowsXP.

Thanks,
Lars



_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev