mirror of
https://kernel.googlesource.com/pub/scm/network/tftp/tftp-hpa
synced 2025-05-07 07:18:06 +03:00
"Access denied" in TFTP is "EACCESS" not "EACCES". Bleargh.
This commit is contained in:
parent
576277e880
commit
32b1e62a8c
2 changed files with 3 additions and 1 deletions
|
@ -472,7 +472,7 @@ tftp(struct tftphdr *tp, int size)
|
|||
exit(0);
|
||||
}
|
||||
if ( !(filename = (*pf->f_rewrite)(origfilename, tp->th_opcode)) ) {
|
||||
nak(EACCES); /* File denied by mapping rule */
|
||||
nak(EACCESS); /* File denied by mapping rule */
|
||||
exit(0);
|
||||
}
|
||||
if ( verbosity >= 1 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue