1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

build-sys: add libsystemd-label to network/dhcp users

This commit is contained in:
Kay Sievers 2014-03-11 21:46:36 +01:00
parent 223763f580
commit 4ef0809c22
2 changed files with 3 additions and 1 deletions

View File

@ -2453,6 +2453,7 @@ libsystemd_network_la_SOURCES = \
src/libsystemd-network/ipv4ll-internal.h
libsystemd_network_la_LIBADD = \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la
@ -2474,6 +2475,7 @@ test_dhcp_client_SOURCES = \
test_dhcp_client_LDADD = \
libsystemd-network.la \
libsystemd-label.la \
libsystemd-internal.la \
libsystemd-shared.la

View File

@ -150,7 +150,7 @@ int dhcp_network_send_raw_socket(int s, const union sockaddr_union *link,
const void *packet, size_t len)
{
size_t size;
_cleanup_free_ DHCPPacket *discover;
_cleanup_free_ DHCPPacket *discover = NULL;
uint16_t ip_check, udp_check;
assert_se(s >= 0);