summaryrefslogtreecommitdiffstats
path: root/net/tftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tftp.c')
-rw-r--r--net/tftp.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/net/tftp.c b/net/tftp.c
index 86ef0c3dd6..810a6d0346 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -288,17 +288,6 @@ TftpStart (void)
puts ("TFTP from server "); print_IPaddr (NetServerIP);
puts ("; our IP address is "); print_IPaddr (NetOurIP);
-
- /* Check if we need to send across this subnet */
- if (NetOurGatewayIP && NetOurSubnetMask) {
- IPaddr_t OurNet = NetOurIP & NetOurSubnetMask;
- IPaddr_t ServerNet = NetServerIP & NetOurSubnetMask;
-
- if (OurNet != ServerNet) {
- puts ("; sending through gateway ");
- print_IPaddr (NetOurGatewayIP) ;
- }
- }
putchar('\n');
printf ("Filename '%s'.", tftp_filename);