bijjou2000 wrote:

> I work at a dissektor using  udp.port = = udp.port xxx and yyy.
>  I will show the ports Number in the summary window in the info column.

If you *don't* have a dissector for the protocol, the UDP dissector will 
show the port numbers.

If you do, the Info column should show more than *just* the port 
numbers, unless the protocol is *so* simple that there's nothing more to 
show.  However, if you want to show the port numbers in addition to 
other information, you can use pinfo->srcport for the source port and 
pinfo->destport for the destination port.
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to