Changeset bd4cda0 in network-demos


Ignore:
Timestamp:
Jul 12, 1999, 3:49:45 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master, 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.