|
@@ -95,8 +95,9 @@ static int pxe_menu_parse ( struct pxe_menu **menu ) {
|
95
|
95
|
|
96
|
96
|
/* Fetch relevant settings */
|
97
|
97
|
tmp_setting.tag = DHCP_PXE_BOOT_SERVER_MCAST;
|
98
|
|
- server.s_addr = INADDR_BROADCAST;
|
99
|
98
|
fetch_ipv4_setting ( NULL, &tmp_setting, &server );
|
|
99
|
+ if ( ! server.s_addr )
|
|
100
|
+ server.s_addr = INADDR_BROADCAST;
|
100
|
101
|
tmp_setting.tag = DHCP_PXE_BOOT_MENU_PROMPT;
|
101
|
102
|
fetch_setting ( NULL, &tmp_setting, &prompt, sizeof ( prompt ) );
|
102
|
103
|
tmp_setting.tag = DHCP_PXE_BOOT_MENU;
|