Wireshark-dev: Re: [Wireshark-dev] smi_modules
From: "Jaap Keuter" <[email protected]>
Date: Tue, 28 Aug 2007 12:44:00 +0200 (CEST)

I was thinking about Wireshark specific tags as well, but using ~/.smirc
for that is probably wrong. Which $HOME should that be? It should go in
the global smi.config to have it available for everyone. Not sure I like
the idea of changing the global config.
Their should be another way. Just not sure which.


> Luis EG Ontanon wrote:
>> If you add the .../pibs directory to the path
>> (Preferences->MIBS->Path) do they get loaded (you can check in the
>> Expression dialog under the MIBS tab if the fileds were registered)
> These PIBs are in Wireshark's default set of MIBs/PIBs to be loaded
> (smi_modules), but not in libsmi's default search path
> (/usr/share/mibs/ietf:/usr/share/mibs/iana:/usr/share/mibs/irtf:/usr/share/mibs/site:/usr/share/mibs/tubs:/usr/share/pibs/ietf:/usr/share/pibs/site:/usr/share/pibs/tubs
> according to smiGetPath() on SuSE 10.2) which doesn't look like a good
> idea.
> Adding "wireshark: path :/usr/share/pibs" to ~/.smirc and modifying
> epan/oids.c to call smiInit("wireshark") rather than smiInit(NULL) (see
> the smi_config(3) manual page) fixes things for me ("tshark -v" now runs
> without warnings). YMMV.