Ignore case in OACK packets
This commit is contained in:
parent
3753023819
commit
6835881e80
1 changed files with 1 additions and 1 deletions
2
tftp.c
2
tftp.c
|
@ -111,7 +111,7 @@ static char *pkt_optval(char* pkt, const char* name)
|
|||
pkt += 2;
|
||||
|
||||
while (pkt_nextopt(&pkt, &opt, &val, &rem)) {
|
||||
if (!strcmp(name, opt)) {
|
||||
if (!strcasecmp(name, opt)) {
|
||||
return val;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue