Blame SOURCES/0055-grub-core-net-bootp.c-parse_dhcp_vendor-Fix-double-i.patch

f96e0b
From e64acf0c9e709e2f2fc4908f2123ad908371839b Mon Sep 17 00:00:00 2001
f96e0b
From: Paulo Flabiano Smorigo <pfsmorigo@br.ibm.com>
f96e0b
Date: Wed, 28 Nov 2012 14:14:20 +0100
f96e0b
Subject: [PATCH 055/482] 	* grub-core/net/bootp.c (parse_dhcp_vendor):
f96e0b
 Fix double increment.
f96e0b
f96e0b
---
f96e0b
 ChangeLog             | 4 ++++
f96e0b
 grub-core/net/bootp.c | 2 +-
f96e0b
 2 files changed, 5 insertions(+), 1 deletion(-)
f96e0b
f96e0b
diff --git a/ChangeLog b/ChangeLog
f96e0b
index caea96d..1759da4 100644
f96e0b
--- a/ChangeLog
f96e0b
+++ b/ChangeLog
f96e0b
@@ -1,3 +1,7 @@
f96e0b
+2012-11-28  Paulo Flabiano Smorigo  <pfsmorigo@br.ibm.com>
f96e0b
+
f96e0b
+	* grub-core/net/bootp.c (parse_dhcp_vendor): Fix double increment.
f96e0b
+
f96e0b
 2012-10-28  Grégoire Sutre  <gregoire.sutre@gmail.com>
f96e0b
 
f96e0b
 	* util/grub.d/10_netbsd.in: Fix tab indentation and make sure
f96e0b
diff --git a/grub-core/net/bootp.c b/grub-core/net/bootp.c
f96e0b
index bc07d53..f36d4cd 100644
f96e0b
--- a/grub-core/net/bootp.c
f96e0b
+++ b/grub-core/net/bootp.c
f96e0b
@@ -122,7 +122,7 @@ parse_dhcp_vendor (const char *name, void *vend, int limit, int *mask)
f96e0b
 		ptr += 4;
f96e0b
 	      }
f96e0b
 	  }
f96e0b
-	  break;
f96e0b
+	  continue;
f96e0b
 	case GRUB_NET_BOOTP_HOSTNAME:
f96e0b
 	  set_env_limn_ro (name, "hostname", (char *) ptr, taglength);
f96e0b
 	  break;
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b