Reported by: Seth Goldberg
+2012-02-21 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/net/net.c (grub_cmd_deladdr): Fix index.
+ Reported by: Seth Goldberg
+
2012-02-21 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Add -fno-builtin-gettext on host if NLS is disabled.
return grub_error (GRUB_ERR_BAD_ARGUMENT, N_("one argument expected"));
FOR_NET_NETWORK_LEVEL_INTERFACES (inter)
- if (grub_strcmp (inter->name, args[1]) == 0)
+ if (grub_strcmp (inter->name, args[0]) == 0)
break;
if (inter == NULL)
return grub_error (GRUB_ERR_BAD_ARGUMENT, N_("address not found"));