Wireshark mailing list archives

Re: wireshark decode as..??


From: wsgd <wsgd () free fr>
Date: Mon, 22 Mar 2010 23:11:33 +0100

Perhaps you call create_dissector_handle for each port ?

Olivier

Brian Oleksa a écrit :
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 () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
  
    
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


  


-- 
Wireshark Generic Dissector http://wsgd.free.fr

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: