Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] mikey configuration option

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Luis EG Ontanon" <luis.ontanon@xxxxxxxxx>
Date: Tue, 2 Oct 2007 17:36:01 +0200

use just "udp_port" the module name is prepended from the module itself.



On 10/2/07, Filippo Margiotta <filippo.margiotta@xxxxxxxxx> wrote:
> Hi Tomas,
> the param name must start with the module name, and the first letter cannot
> be '.' or '-',
> so, somethink like mikeyudpport is ok and working.
>
> Thanks again guys.
> Filippo
>
>
>
> 2007/10/2, Kukosa, Tomas <tomas.kukosa@xxxxxxxxxxx>:
> > > > module_t *mikey_module;
> > > > mikey_module = prefs_register_protocol(proto_mikey,
> > > > proto_reg_handoff_mikey);
> > > > prefs_register_uint_preference(mikey_module,
> "UDPPort",
> > > "UDPPort", "UDP
> > > > Port (default 4369)", 10, &mikey_udpport);
> > > >
> > > > during the compiling there are some assertion failing.
> > > >
> > > > Could somebody help me on this please ?
> > >
> > > Well, what does the assertion say?
> > >
> > > One guess: the name of the preference should start with your protocol
> > > name.  It should be something like "mikey.UDPPort" instead of just
> > > "UDPPort".
> >
> >
> > No, the preference name MUST NOT start with protocol name. (see
> > prefs.c:579)
> >
> > And the prefernce can contain only lowercase letters or digits or dot or
> > underscore. (see prefs.c:562)
> >
> > Try:
> > prefs_register_uint_preference(mikey_module, " udp.port",
> "UDP Port",
> > "UDP Port (default 4369)", 10, &mikey_udpport);
> > _______________________________________________
> > Wireshark-dev mailing list
> > Wireshark-dev@xxxxxxxxxxxxx
> > http://www.wireshark.org/mailman/listinfo/wireshark-dev
> >
>
>
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>
>


-- 
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan

  • References:
    • [Wireshark-dev] mikey configuration option
      • From: Filippo Margiotta
    • Re: [Wireshark-dev] mikey configuration option
      • From: Jeff Morriss
    • Re: [Wireshark-dev] mikey configuration option
      • From: Kukosa, Tomas
    • Re: [Wireshark-dev] mikey configuration option
      • From: Filippo Margiotta
  • Prev by Date: Re: [Wireshark-dev] mikey decryption
  • Next by Date: Re: [Wireshark-dev] mikey decryption
  • Previous by thread: Re: [Wireshark-dev] mikey configuration option
  • Next by thread: [Wireshark-dev] Wish List - Notes Field
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation