aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tftp.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2006-09-05 16:09:49 +0000
committerJörg Mayer <jmayer@loplof.de>2006-09-05 16:09:49 +0000
commitadc56b8e95cd0e69bd31b53886ffa8863504d276 (patch)
treed9a7de69ffe032fc0166ee51c00e3535409a1907 /epan/dissectors/packet-tftp.c
parent26285e4b2fbfbb12114e796024c8f2d8487efbd5 (diff)
option name "blksize" is case in-sensitive
svn path=/trunk/; revision=19158
Diffstat (limited to 'epan/dissectors/packet-tftp.c')
-rw-r--r--epan/dissectors/packet-tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tftp.c b/epan/dissectors/packet-tftp.c
index 20ec425cc5..136f5b3691 100644
--- a/epan/dissectors/packet-tftp.c
+++ b/epan/dissectors/packet-tftp.c
@@ -317,7 +317,7 @@ tftp_dissect_options(tvbuff_t *tvb, packet_info *pinfo, int offset,
offset += option_len + value_len;
/* Special code to handle individual options */
- if (!strcmp(optionname, "blksize")) { /* rfc 2348: TFTP Blocksize Option */
+ if (!strcasecmp(optionname, "blksize")) { /* rfc 2348: TFTP Blocksize Option */
gint blocksize = strtol(optionvalue, NULL, 10);
if (blocksize < 8 || blocksize > 65464) {
/* FIXME: Do we need a new category for parameters out of range? */