Merge tag 'efi-master-26032025' of https://source.denx.de/u-boot/custodians/u-boot-tpm
A last minute fix from Vincent fixing the text representation of device paths containing IPv4 device path nodes. A missing break; ended up printing IPv4(5.6.7.8,TCP,UDP,0x6,DHCP,1.2.3.4,9.10.11.12,255.255.255.0) instead of IPv4(5.6.7.8,TCP,DHCP,1.2.3.4,9.10.11.12,255.255.255.0)
This commit is contained in:
@@ -181,10 +181,13 @@ static char *dp_msging(char *s, struct efi_device_path *dp)
|
||||
switch (idp->protocol) {
|
||||
case IPPROTO_TCP:
|
||||
s += sprintf(s, "TCP,");
|
||||
break;
|
||||
case IPPROTO_UDP:
|
||||
s += sprintf(s, "UDP,");
|
||||
break;
|
||||
default:
|
||||
s += sprintf(s, "0x%x,", idp->protocol);
|
||||
break;
|
||||
}
|
||||
s += sprintf(s, idp->static_ip_address ? "Static" : "DHCP");
|
||||
s += sprintf(s, ",%pI4", &idp->local_ip_address);
|
||||
|
||||
Reference in New Issue
Block a user