* grub-core/net/bootp.c (parse_dhcp_vendor): Fix double increment.

This commit is contained in:
Paulo Flabiano Smorigo 2012-11-28 14:14:20 +01:00 committed by Vladimir 'phcoder' Serbinenko
parent 03711240c8
commit 48ff08895d
2 changed files with 5 additions and 1 deletions

View file

@ -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> 2012-10-28 Grégoire Sutre <gregoire.sutre@gmail.com>
* util/grub.d/10_netbsd.in: Fix tab indentation and make sure * util/grub.d/10_netbsd.in: Fix tab indentation and make sure

View file

@ -122,7 +122,7 @@ parse_dhcp_vendor (const char *name, void *vend, int limit, int *mask)
ptr += 4; ptr += 4;
} }
} }
break; continue;
case GRUB_NET_BOOTP_HOSTNAME: case GRUB_NET_BOOTP_HOSTNAME:
set_env_limn_ro (name, "hostname", (char *) ptr, taglength); set_env_limn_ro (name, "hostname", (char *) ptr, taglength);
break; break;