Changeset bd4cda0 in network-demos


Ignore:
Timestamp:
07/12/99 15:49:45 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 57a009d5b89e72f488ab655184e6a33bb0fe6b7f, netdemos-4-5-branch, network-demos-4-10-branch, network-demos-4-6-branch, network-demos-4-7-branch, network-demos-4-8-branch, network-demos-4-9-branch, rtems-4-5-branch
Children:
bca36a0
Parents:
45c129b
Message:

Patch from Eric Norum <eric@…>:

I changed the TFTP test program and TFTP driver to reflect the
changes in the way paths are passed to the TFTP driver. The TFTP driver
now needs a proper `dotted-decimal' hostname as the second component of
the path name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tftpTest/init.c

    r45c129b rbd4cda0  
    4343#include <stdio.h>
    4444#include <rtems/rtems_bsdnet.h>
     45#include <netinet/in.h>
     46#include <arpa/inet.h>
    4547#include "../networkconfig.h"
    4648
     
    5759
    5860#if (defined (RTEMS_USE_BOOTP))
    59         hostname = NULL;
     61        hostname = inet_ntoa (rtems_bsdnet_bootp_server_address);
    6062        filename = rtems_bsdnet_bootp_boot_file_name;
    6163#else
Note: See TracChangeset for help on using the changeset viewer.