ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] wireshark decode as..??

From: Brian Oleksa <oleksab@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 Mar 2010 16:17:28 -0400
Guy

Actually....this is what I am doing:

dissector_add("udp.port", ports[i], helen_handle);

Where ports has a list of port numbers in it.

static int ports[25] = {5136, 5000, 5220, 42250, 50000, 5221, 5222, 49901, 49501, 49510, 42251, 42250, 5226, 47001, 5227, 7636, 59201,
   59202, 59203, 59204, 59205, 59206, 59207, 59209, 59210};

Is this a problem..??  How do I get around this..??

Thanks,
Brian



Guy Harris wrote:
On Mar 22, 2010, at 1:04 PM, Brian Oleksa wrote:

When I right click on a packet and select decode as....under the transport tab... there is like 14 of my protocols in the selection box. (so I see the word HELEN 14 times in a row)

Does anybody know why this is..??

You're only calling dissector_add() or dissector_add_handle() once, right?  You're not calling it, for example, every time a preference is set?
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe