* fs/i386/pc/pxe.c (grub_pxe_open): Fix parsing of gateway_ip.
This commit is contained in:
parent
ee75515e69
commit
258c2573a6
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-06-07 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* fs/i386/pc/pxe.c (grub_pxe_open): Fix parsing of gateway_ip.
|
||||
|
||||
2010-06-07 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* docs/grub.texi (Network): New section.
|
||||
|
|
|
@ -114,7 +114,7 @@ grub_pxe_open (const char *name, grub_disk_t disk)
|
|||
return err;
|
||||
if (*ptr == ':')
|
||||
{
|
||||
err = parse_ip (ptr + 1, &(data->server_ip), 0);
|
||||
err = parse_ip (ptr + 1, &(data->gateway_ip), 0);
|
||||
if (err)
|
||||
return err;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue