diff options
Diffstat (limited to 'epan/dissectors/packet-cigi.c')
-rw-r--r-- | epan/dissectors/packet-cigi.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/epan/dissectors/packet-cigi.c b/epan/dissectors/packet-cigi.c index d0db7ef365..dc062c827a 100644 --- a/epan/dissectors/packet-cigi.c +++ b/epan/dissectors/packet-cigi.c @@ -42,6 +42,10 @@ #include <epan/prefs.h> #include <epan/emem.h> +#ifdef NEED_G_ASCII_STRCASECMP_H +#include "g_ascii_strcasecmp.h" +#endif + /* Forward declaration */ void proto_reg_handoff_cigi(void); static gboolean packet_is_cigi(tvbuff_t*); @@ -2073,16 +2077,16 @@ dissect_cigi_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Format the Info String */ src_str = ip_to_str(pinfo->src.data); - if ( !g_strcasecmp(global_host_ip, src_str) ) { + if ( !g_ascii_strcasecmp(global_host_ip, src_str) ) { src_str = "Host"; - } else if ( !g_strcasecmp(global_ig_ip, src_str) ) { + } else if ( !g_ascii_strcasecmp(global_ig_ip, src_str) ) { src_str = "IG"; } dest_str = ip_to_str(pinfo->dst.data); - if ( !g_strcasecmp(global_host_ip, dest_str) ) { + if ( !g_ascii_strcasecmp(global_host_ip, dest_str) ) { dest_str = "Host"; - } else if ( !g_strcasecmp(global_ig_ip, dest_str) ) { + } else if ( !g_ascii_strcasecmp(global_ig_ip, dest_str) ) { dest_str = "IG"; } |