net: Quietly ignore DHCP Option 28 (Broadcast Address)
[oweals/u-boot.git] / net / bootp.c
index c9b8349b3650b873351dd44b86eb4386a495e285..661e371063ac6273d0f3302ca0d85f12e1c4a1dd 100644 (file)
@@ -728,6 +728,8 @@ static void DhcpOptionsProcess(uchar *popt, struct Bootp_t *bp)
                        memcpy(&NetOurRootPath, popt + 2, size);
                        NetOurRootPath[size] = 0;
                        break;
+               case 28:        /* Ignore Broadcast Address Option */
+                       break;
 #if defined(CONFIG_CMD_SNTP) && defined(CONFIG_BOOTP_NTPSERVER)
                case 42:        /* NTP server IP */
                        NetCopyIP(&NetNtpServerIP, (popt + 2));