diff options
author | ps <ps@FreeBSD.org> | 2000-04-08 01:18:04 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2000-04-08 01:18:04 +0000 |
commit | 1e90e50f9fb9f5d7c78e5eaef8a3b9d4478adc45 (patch) | |
tree | 57df2f906d9c23fbc2a9810651e1260cc41d9bcf /lib/libstand/tftp.c | |
parent | d741574cfe311711f9ca49b46dada42b8c505c89 (diff) | |
download | FreeBSD-src-1e90e50f9fb9f5d7c78e5eaef8a3b9d4478adc45.zip FreeBSD-src-1e90e50f9fb9f5d7c78e5eaef8a3b9d4478adc45.tar.gz |
Break out sendudp and readudp from net.c. This is for PXE, so it
can use its own UDP interface.
Diffstat (limited to 'lib/libstand/tftp.c')
-rw-r--r-- | lib/libstand/tftp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libstand/tftp.c b/lib/libstand/tftp.c index a6695e9..63d32d9 100644 --- a/lib/libstand/tftp.c +++ b/lib/libstand/tftp.c @@ -30,6 +30,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * + * $FreeBSD$ */ /* @@ -375,7 +376,7 @@ tftp_stat(f, sb) struct tftp_handle *tftpfile; tftpfile = (struct tftp_handle *) f->f_fsdata; - sb->st_mode = 0444; + sb->st_mode = 0444 | S_IFREG; sb->st_nlink = 1; sb->st_uid = 0; sb->st_gid = 0; |