aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-10-23 05:40:36 +0000
committerGuy Harris <guy@alum.mit.edu>2001-10-23 05:40:36 +0000
commit6f540157114bba03a34173f4b3d563e27d6f7498 (patch)
treebb2923b44daeb4324bcb1d9cf952b42adcef602b /epan
parent879189fc8f04d743a9866f4f5b9f54c5e89ee92e (diff)
When putting protocols into the list of protocols, do a case-insensitive
sort. Give iSCSI the short name "iSCSI" rather than "ISCSI". svn path=/trunk/; revision=4067
Diffstat (limited to 'epan')
-rw-r--r--epan/proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/proto.c b/epan/proto.c
index 9921bd71b6..95dbc8c6aa 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -1,7 +1,7 @@
/* proto.c
* Routines for protocol tree
*
- * $Id: proto.c,v 1.35 2001/09/14 07:10:10 guy Exp $
+ * $Id: proto.c,v 1.36 2001/10/23 05:40:36 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1588,7 +1588,7 @@ proto_compare_name(gconstpointer p1_arg, gconstpointer p2_arg)
const protocol_t *p1 = p1_arg;
const protocol_t *p2 = p2_arg;
- return strcmp(p1->short_name, p2->short_name);
+ return g_strcasecmp(p1->short_name, p2->short_name);
}
int