summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/bootp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bootp.c b/net/bootp.c
index 8da2e9b8b4..f2978a23ce 100644
--- a/net/bootp.c
+++ b/net/bootp.c
@@ -949,6 +949,7 @@ static void dhcp_send_request_packet(struct bootp_hdr *bp_offer)
net_write_ip(&bp->bp_giaddr, zero_ip);
memcpy(bp->bp_chaddr, net_ethaddr, 6);
+ copy_filename(bp->bp_file, net_boot_file_name, sizeof(bp->bp_file));
/*
* ID is the id of the OFFER packet
OpenPOWER on IntegriCloud