ip/tftpd: add a syslog message about what error we return to the client on a NAK

This commit is contained in:
cinap_lenrek 2021-04-11 23:58:30 +02:00
parent a89bee7373
commit 5fb37e15b6

View file

@ -737,6 +737,8 @@ nak(int fd, int code, char *msg)
buf[n-1] = 0;
if(write(fd, buf, n) != n)
sysfatal("write nak: %r");
syslog(dbg, flog, "tftpd %d sent NAK '%s' to %s", pid, msg, raddr);
}
void