loader: tftp client should use server address from rootip
servip is set from bootp bp_siaddr (if present) and rootip is set immediately from servip in tha same bootp code.
However, the common/dev_net.c does only set rootip (based on url processing etc). Therefore, we should also use rootip in tftp reader.
Fixes hung tftp based boot when bp_siaddr is not provided.
Testing done: tftp boot.
Updated by Electric Monk 10 months ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 40218bdb5639ffca8a4bf8a1697cf2d6a8d875e2 Author: Toomas Soome <firstname.lastname@example.org> Date: 2021-08-04T20:01:17.000Z 13993 loader: tftp client should use server address from rootip Reviewed by: Robert Mustacchi <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>