aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2003-05-26 22:55:43 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2003-05-26 22:55:43 +0000
commit191a0dec85d1f44ea875283e2ea1ccbb82c54953 (patch)
tree60743da91ac21b10e052120498f1040a989a20eb /util.c
parenta3e604b8351532db48bb834578baf91ff84366a3 (diff)
Add ADNS to the "Compiled with" list. Wrap at the SNMP library part since
the line was getting long. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7747 f5534014-38df-0310-8fa8-9805f1628bb7
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 */
}
/*