[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] (pxe:server_ip:gateway_ip) parsing wrong?
From: |
Colin Watson |
Subject: |
[PATCH] (pxe:server_ip:gateway_ip) parsing wrong? |
Date: |
Mon, 7 Jun 2010 17:58:43 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
While writing documentation for booting GRUB over the network, I noticed
that the code to handle (pxe:server_ip:gateway_ip) device names looks
wrong. Shouldn't it be like this?
2010-06-07 Colin Watson <address@hidden>
* fs/i386/pc/pxe.c (grub_pxe_open): Fix parsing of gateway_ip.
=== modified file 'fs/i386/pc/pxe.c'
--- fs/i386/pc/pxe.c 2010-02-14 12:18:33 +0000
+++ fs/i386/pc/pxe.c 2010-06-07 16:56:22 +0000
@@ -114,7 +114,7 @@ grub_pxe_open (const char *name, grub_di
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;
}
Thanks,
--
Colin Watson address@hidden
- [PATCH] (pxe:server_ip:gateway_ip) parsing wrong?,
Colin Watson <=