forked from osmocom/wireshark
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
This commit is contained in:
parent
879189fc8f
commit
6f54015711
|
@ -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
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* Conforms to the protocol described in: draft-ietf-ips-iscsi-08.txt
|
||||
*
|
||||
* $Id: packet-iscsi.c,v 1.14 2001/10/21 19:04:20 guy Exp $
|
||||
* $Id: packet-iscsi.c,v 1.15 2001/10/23 05:40:35 guy Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@ethereal.com>
|
||||
|
@ -1667,7 +1667,7 @@ proto_register_iscsi(void)
|
|||
};
|
||||
|
||||
/* Register the protocol name and description */
|
||||
proto_iscsi = proto_register_protocol("iSCSI", "ISCSI", "iscsi");
|
||||
proto_iscsi = proto_register_protocol("iSCSI", "iSCSI", "iscsi");
|
||||
|
||||
/* Required function calls to register the header fields and
|
||||
* subtrees used */
|
||||
|
|
Loading…
Reference in New Issue