From 3b67d88282ffc94dc5546ed7d711a6ff60fd1396 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 12 Aug 1998 23:15:45 +0000 Subject: Added gratuitous arp and commented out a confusing printf. --- tftpTest/init.c | 8 ++++++++ tftpTest/test.c | 2 ++ 2 files changed, 10 insertions(+) diff --git a/tftpTest/init.c b/tftpTest/init.c index 869de33..569a03d 100644 --- a/tftpTest/init.c +++ b/tftpTest/init.c @@ -120,6 +120,14 @@ Init (rtems_task_argument ignored) rtems_ka9q_execute_command ("route"); #endif + /* + * Issue a gratuitous ARP request to update tables in + * other hosts on this network. + */ + + if (rtems_ka9q_execute_command ("arp gratuitous rtems")) + rtems_panic ("Can't send gratuitous ARP.\n"); + /* * Test TFTP driver diff --git a/tftpTest/test.c b/tftpTest/test.c index 6c78da7..1d40af8 100644 --- a/tftpTest/test.c +++ b/tftpTest/test.c @@ -113,7 +113,9 @@ makeFullname (rtems_unsigned32 host, const char *file) static char name[16]; #endif +#if 0 printf( "makeFullname(0x08%x, %s)\n", host, file); +#endif #if (defined (USE_BOOTP)) if (host) { -- cgit v1.2.3