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