diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2012-07-06 12:25:54 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2012-07-06 12:25:54 +0000 |
commit | 7e38fe433aa3ac3857c11ed41fee789ff7d6d048 (patch) | |
tree | 9eaf50e223f54acd37b3b0ad93186fcb6418a5d4 /epan/ipproto.c | |
parent | 88cb14dda3faf752e41ca6ce3f1ccac7d4920548 (diff) |
Fix compilation with gcc 4.3.2 and without GEOIP
svn path=/trunk/; revision=43587
Diffstat (limited to 'epan/ipproto.c')
-rw-r--r-- | epan/ipproto.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/ipproto.c b/epan/ipproto.c index 3b03de014a..d5b04f0f85 100644 --- a/epan/ipproto.c +++ b/epan/ipproto.c @@ -285,7 +285,8 @@ const char *ipprotostr(const int proto) { * XXX - have another flag for resolving network-layer * protocol names? */ - if (gbl_resolv_flags != 0) { + if (gbl_resolv_flags.mac_name || gbl_resolv_flags.network_name || + gbl_resolv_flags.transport_name || gbl_resolv_flags.concurrent_dns) { static char buf[128]; struct protoent *pe; |