mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 06:22:43 +00:00
e381d787f1
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
23 lines
827 B
Diff
23 lines
827 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Leo Sandoval <lsandova@redhat.com>
|
|
Date: Wed, 28 Aug 2024 13:37:42 -0600
|
|
Subject: [PATCH] grub-core/net/arp.c: fix variable name
|
|
|
|
Signed-off-by: Leo Sandoval <lsandova@redhat.com>
|
|
---
|
|
grub-core/net/arp.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/grub-core/net/arp.c b/grub-core/net/arp.c
|
|
index 8bf0a06e1..7adeb7447 100644
|
|
--- a/grub-core/net/arp.c
|
|
+++ b/grub-core/net/arp.c
|
|
@@ -159,7 +159,7 @@ grub_net_arp_receive (struct grub_net_buff *nb, struct grub_net_card *card,
|
|
sender_addr.option = 0;
|
|
target_addr.option = 0;
|
|
|
|
- grub_memcpy(&target_addr.ipv4, tmp_ptr, pln);
|
|
+ grub_memcpy(&sender_addr.ipv4, tmp_ptr, pln);
|
|
tmp_ptr += pln;
|
|
|
|
grub_net_link_layer_add_address (card, &sender_addr, &sender_mac_addr, 1);
|