summaryrefslogtreecommitdiff
path: root/networking/zcip.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/zcip.c')
-rw-r--r--networking/zcip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/zcip.c b/networking/zcip.c
index 3a349a5..df4c0ec 100644
--- a/networking/zcip.c
+++ b/networking/zcip.c
@@ -279,7 +279,8 @@ int zcip_main(int argc, char **argv)
// NOTE: the sequence of addresses we try changes only
// depending on when we detect conflicts.
{
- uint32_t t = get_unaligned_u32p((uint32_t *) ((char *)&eth_addr + 2));
+ uint32_t t;
+ move_from_unaligned32(t, ((char *)&eth_addr + 2));
srand(t);
}
if (ip.s_addr == 0)