HomeFreeBSD

tftpd: reject unknown opcodes

Description

tftpd: reject unknown opcodes

If tftpd receives a command with an unknown opcode, it simply exits 1. It
doesn't send an ERROR packet, and the client will hang waiting for one. Fix
it.

PR: 226005
MFC after: 3 weeks

Details

Provenance
asomersAuthored on
Parents
rS330719: tftpd: Abort on an WRQ access violation
Branches
Unknown
Tags
Unknown