All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] (pxe:server_ip:gateway_ip) parsing wrong?
@ 2010-06-07 16:58 Colin Watson
  2010-06-07 20:18 ` Colin Watson
  2010-06-07 20:22 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 2 replies; 4+ messages in thread
From: Colin Watson @ 2010-06-07 16:58 UTC (permalink / raw)
  To: grub-devel

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  <cjwatson@ubuntu.com>

	* 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                                       [cjwatson@ubuntu.com]


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-07 21:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-07 16:58 [PATCH] (pxe:server_ip:gateway_ip) parsing wrong? Colin Watson
2010-06-07 20:18 ` Colin Watson
2010-06-07 21:02   ` Seth Goldberg
2010-06-07 20:22 ` Vladimir 'φ-coder/phcoder' Serbinenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.