diff --git a/Ports/dmidecode/patches/ReadMe.md b/Ports/dmidecode/patches/ReadMe.md index ce783b3e21e..9d2490760e5 100644 --- a/Ports/dmidecode/patches/ReadMe.md +++ b/Ports/dmidecode/patches/ReadMe.md @@ -2,4 +2,4 @@ ## `dmidecode.patch` -Remove IPv6 uses and set the correct path for the dmi firmware. +Set the correct path for the dmi firmware. diff --git a/Ports/dmidecode/patches/dmidecode.patch b/Ports/dmidecode/patches/dmidecode.patch index c5d2fa10a8b..bb9aa3cb7f6 100644 --- a/Ports/dmidecode/patches/dmidecode.patch +++ b/Ports/dmidecode/patches/dmidecode.patch @@ -9,12 +9,3 @@ diff -u b/dmidecode.c b/dmidecode.c +#define SYS_FIRMWARE_DIR "/sys/firmware/bios" #define SYS_ENTRY_FILE SYS_FIRMWARE_DIR "/smbios_entry_point" #define SYS_TABLE_FILE SYS_FIRMWARE_DIR "/DMI" - -@@ -3654,7 +3654,5 @@ - { - if (addrtype == 0x1) /* IPv4 */ - return inet_ntop(AF_INET, data, storage, 64); -- if (addrtype == 0x2) /* IPv6 */ -- return inet_ntop(AF_INET6, data, storage, 64); - return out_of_spec; - }