Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2007 14:31:58 -0800
From:      Bill Fenner <fenner@research.att.com>
To:        hugme@hugme.org
Cc:        freebsd-net@freebsd.org, Randall Stewart <rrs@cisco.com>, "Bruce M. Simpson" <bms@freebsd.org>, Ricardo Nabinger Sanchez <rnsanchez@wait4.org>
Subject:   Re: Problem with port 0
Message-ID:  <200701172231.l0HMVw4I030302@bright.research.att.com>
References:  <f9876c510701120903r65543ef4nafc7eeead2becb42@mail.gmail.com> <20070112163057.2a3ec8f0.rnsanchez@wait4.org> <45A807F8.7080603@FreeBSD.org> <45ACCFF4.4040709@cisco.com> <200701162200.l0GM0FkG011595@bright.research.att.com> <f9876c510701171023m69dd1497q38b0a1f90eba6d68@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hug,

  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).

  Bill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701172231.l0HMVw4I030302>