mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 04:48:10 +02:00
Revert "n-dhcp4: work around compiler warning in n_dhcp4_socket_packet_send()"
We have now a different solution using c_errno() in packet_sendto_udp().
This reverts commit 4686e9baef.
This commit is contained in:
parent
5bdc36b392
commit
6af73f9d17
1 changed files with 1 additions and 2 deletions
|
|
@ -348,8 +348,7 @@ static int n_dhcp4_socket_packet_send(int sockfd,
|
|||
.sll_halen = halen,
|
||||
};
|
||||
const void *buf;
|
||||
size_t n_buf;
|
||||
size_t len = 0;
|
||||
size_t n_buf, len;
|
||||
int r;
|
||||
|
||||
c_assert(halen <= sizeof(haddr.sll_addr));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue