aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2003-05-26 22:55:43 +0000
committerGerald Combs <gerald@wireshark.org>2003-05-26 22:55:43 +0000
commit34f3a838621fb5b3b1bf4c932f8a603266aa683b (patch)
tree60743da91ac21b10e052120498f1040a989a20eb /util.c
parente1f609b9fd63899d1d8b118a268d7e17af07eb0f (diff)
Add ADNS to the "Compiled with" list. Wrap at the SNMP library part since
the line was getting long. svn path=/trunk/; revision=7747
Diffstat (limited to 'util.c')
-rw-r--r--util.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/util.c b/util.c
index b7edb4a61c..b948da1f0e 100644
--- a/util.c
+++ b/util.c
@@ -1,7 +1,7 @@
/* util.c
* Utility routines
*
- * $Id: util.c,v 1.61 2003/05/23 05:25:18 tpot Exp $
+ * $Id: util.c,v 1.62 2003/05/26 22:55:43 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -129,18 +129,24 @@ get_compiled_version_info(GString *str)
#ifdef HAVE_SOME_SNMP
#ifdef HAVE_UCD_SNMP
- g_string_append(str, ", with UCD-SNMP ");
+ g_string_append(str, ",\nwith UCD-SNMP ");
g_string_append(str, VersionInfo);
#endif /* HAVE_UCD_SNMP */
#ifdef HAVE_NET_SNMP
- g_string_append(str, ", with Net-SNMP ");
+ g_string_append(str, ",\nwith Net-SNMP ");
g_string_append(str, netsnmp_get_version());
#endif /* HAVE_NET_SNMP */
#else /* no SNMP library */
- g_string_append(str, ", without UCD-SNMP or Net-SNMP");
+ g_string_append(str, ",\nwithout UCD-SNMP or Net-SNMP");
#endif /* HAVE_SOME_SNMP */
+
+#ifdef HAVE_GNU_ADNS
+ g_string_append(str, ", with ADNS");
+#else
+ g_string_append(str, ", without ADNS");
+#endif /* HAVE_GNU_ADNS */
}
/*