]> git.sur5r.net Git - u-boot/blobdiff - net/bootp.c
net: rename NetRxPkt to NetRxPacket
[u-boot] / net / bootp.c
index 77057c6c0a7b2c51e29dc4ed0482a6f8d1cd5992..d5f9c4be6d32dffb3508f9a70a9c0988bc98917c 100644 (file)
@@ -124,7 +124,7 @@ static void BootpCopyNetParams(Bootp_t *bp)
        NetCopyIP(&tmp_ip, &bp->bp_siaddr);
        if (tmp_ip != 0)
                NetCopyIP(&NetServerIP, &bp->bp_siaddr);
-       memcpy (NetServerEther, ((Ethernet_t *)NetRxPkt)->et_src, 6);
+       memcpy (NetServerEther, ((Ethernet_t *)NetRxPacket)->et_src, 6);
 #endif
        if (strlen(bp->bp_file) > 0)
                copy_filename (BootFile, bp->bp_file, sizeof(BootFile));