diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-12 23:15:45 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-12 23:15:45 +0000 |
commit | 3b67d88282ffc94dc5546ed7d711a6ff60fd1396 (patch) | |
tree | 4a1d6c935a4e5eb26bc252f8c0ba7aac62592abf | |
parent | af0dafa743e9580f340d7ee4fb948a72844e93fe (diff) |
Added gratuitous arp and commented out a confusing printf.
-rw-r--r-- | tftpTest/init.c | 8 | ||||
-rw-r--r-- | tftpTest/test.c | 2 |
2 files changed, 10 insertions, 0 deletions
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) { |