Problem with port 0

Bill Fenner fenner at
Wed Jan 17 22:32:02 UTC 2007


  If you feel like building a new kernel, I'd suggest commenting
out those lines that I quoted in in_pcb.c:

           if (sin->sin_port == 0)
                   return (EADDRNOTAVAIL);

and see if the FreeBSD tftpd behaves the way you want after that.
I don't think that's the solution that should be committed, but
I think that may get you what you need (and the fix should be
the same across any FreeBSD version, as long as you can build
a new kernel for your varied boxes).


More information about the freebsd-net mailing list