diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-04-15 03:37:16 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-04-15 03:37:16 +0000 |
commit | f8c976489400ad3d77bd0d254fc6e7e227e203dd (patch) | |
tree | e1224e2ca540486e5a5bf0f927ab339ff37df77c /tethereal.c | |
parent | 38b8932fd03d0e27596eee9470a7524b9a1b2e28 (diff) | |
download | wireshark-f8c976489400ad3d77bd0d254fc6e7e227e203dd.tar.gz wireshark-f8c976489400ad3d77bd0d254fc6e7e227e203dd.tar.bz2 wireshark-f8c976489400ad3d77bd0d254fc6e7e227e203dd.zip |
There's no "enable name resolution in captures" preference in Ethereal,
and never was - there's only an Ethereal-wide "enable name resolution"
preference. Name it just "name_resolve".
Replace all tests of "g_resolving_actif" with tests of
"prefs.name_resolv", and replace all code that sets "g_resolving_actif"
with code that sets "prefs.name_resolv", so that the setting of
"prefs.name_resolv" actually affects whether names are resolved or not.
svn path=/trunk/; revision=3300
Diffstat (limited to 'tethereal.c')
-rw-r--r-- | tethereal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tethereal.c b/tethereal.c index 8462a4605b..389003b290 100644 --- a/tethereal.c +++ b/tethereal.c @@ -1,6 +1,6 @@ /* tethereal.c * - * $Id: tethereal.c,v 1.78 2001/04/11 05:24:08 guy Exp $ + * $Id: tethereal.c,v 1.79 2001/04/15 03:37:13 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -391,7 +391,7 @@ main(int argc, char *argv[]) line_buffered = TRUE; break; case 'n': /* No name resolution */ - g_resolving_actif = 0; + prefs->name_resolve = 0; break; case 'o': /* Override preference from command line */ switch (prefs_set_pref(optarg)) { |