* fs/i386/pc/pxe.c (grub_pxe_open): Fix parsing of gateway_ip.

This commit is contained in:
Colin Watson 2010-06-07 21:29:25 +01:00
parent ee75515e69
commit 258c2573a6
2 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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;
}