aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/dhcpc.c')
-rw-r--r--networking/udhcp/dhcpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index c757fb37c..200a2fb8a 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -971,7 +971,7 @@ static NOINLINE int d4_recv_raw_packet(struct dhcp_packet *dhcp_pkt, int fd)
971 } 971 }
972 skip_udp_sum_check: 972 skip_udp_sum_check:
973 973
974 if (packet.data.cookie != htonl(DHCP_MAGIC)) { 974 if (packet.data.cookie != htonl(RFC1048_MAGIC)) {
975 log1s("packet with bad magic, ignoring"); 975 log1s("packet with bad magic, ignoring");
976 return -2; 976 return -2;
977 } 977 }