diff options
| author | Marius Strobl <marius@FreeBSD.org> | 2013-03-02 17:21:44 +0000 |
|---|---|---|
| committer | Marius Strobl <marius@FreeBSD.org> | 2013-03-02 17:21:44 +0000 |
| commit | dba2a026797dfd0762467414e48a846c427d07af (patch) | |
| tree | 6561ad60f6d0b96d4e1b3eb99ee7f5b95d5739de /libexec/tftpd | |
| parent | e9db2fc5fefdb28a75751ffa8fdf5be81fa6b8c0 (diff) | |
Notes
Diffstat (limited to 'libexec/tftpd')
| -rw-r--r-- | libexec/tftpd/tftp-io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/tftpd/tftp-io.c b/libexec/tftpd/tftp-io.c index 7ea0cf99a295..6dabf4f70064 100644 --- a/libexec/tftpd/tftp-io.c +++ b/libexec/tftpd/tftp-io.c @@ -462,7 +462,8 @@ receive_packet(int peer, char *data, int size, struct sockaddr_storage *from, } if (pkt->th_opcode == ERROR) { - tftp_log(LOG_ERR, "Got ERROR packet: %s", pkt->th_msg); + tftp_log(pkt->th_code == EUNDEF ? LOG_DEBUG : LOG_ERR, + "Got ERROR packet: %s", pkt->th_msg); return (RP_ERROR); } |
