aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2010-04-03 11:42:18 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2010-04-03 11:42:18 +0000
commit68ad976a55954f7c4859c9402e4c219cf1fb5d45 (patch)
tree70839db6b056d5a4dfab9edc2e4c4db4cc84b288
parentd3352faa5678d1e4afe0c5ea28bfba259313b81c (diff)
Make UDP Multicast Stream dialog work again.
svn path=/trunk/; revision=32364
-rw-r--r--gtk/mcast_stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/mcast_stream.c b/gtk/mcast_stream.c
index 7e195c6133..a1b42e2c6a 100644
--- a/gtk/mcast_stream.c
+++ b/gtk/mcast_stream.c
@@ -177,8 +177,8 @@ static int mcaststream_packet(void *arg, packet_info *pinfo, epan_dissect_t *edt
* address (for IPv6).
*/
if ((pinfo->dl_dst.type != AT_ETHER) ||
- ((strncmp("01005E", bytes_to_str(pinfo->dl_dst.data, pinfo->dl_dst.len), 6) != 0) &&
- (strncmp("3333", bytes_to_str(pinfo->dl_dst.data, pinfo->dl_dst.len), 4) != 0)) )
+ ((g_ascii_strncasecmp("01005E", bytes_to_str(pinfo->dl_dst.data, pinfo->dl_dst.len), 6) != 0) &&
+ (g_ascii_strncasecmp("3333", bytes_to_str(pinfo->dl_dst.data, pinfo->dl_dst.len), 4) != 0)) )
return 0;
/* check whether we already have a stream with these parameters in the list */