diff options
author | Gerald Combs <gerald@wireshark.org> | 2003-05-26 22:55:43 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2003-05-26 22:55:43 +0000 |
commit | 34f3a838621fb5b3b1bf4c932f8a603266aa683b (patch) | |
tree | 60743da91ac21b10e052120498f1040a989a20eb /util.c | |
parent | e1f609b9fd63899d1d8b118a268d7e17af07eb0f (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.c | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -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 */ } /* |