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