diff options
Diffstat (limited to 'gdhcp/ipv4ll.c')
-rw-r--r-- | gdhcp/ipv4ll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdhcp/ipv4ll.c b/gdhcp/ipv4ll.c index 17ab3d59..033ef816 100644 --- a/gdhcp/ipv4ll.c +++ b/gdhcp/ipv4ll.c @@ -111,7 +111,7 @@ int ipv4ll_send_arp_packet(uint8_t* source_eth, uint32_t source_ip, n = sendto(fd, &p, sizeof(p), 0, (struct sockaddr*) &dest, sizeof(dest)); if (n < 0) - return -errno; + n = -errno; close(fd); |