diff options
author | Tom Gundersen <teg@jklm.no> | 2014-05-24 18:48:41 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-06-13 16:53:13 +0200 |
commit | b44cd8821087f2afebf85fec5b588f5720a9415c (patch) | |
tree | 40c77badee5cbcb210e2692b2377b5964518779d /src/libsystemd-network/dhcp-network.c | |
parent | fef0e0f3b2ad24ed825f04fe1fe60742958f3567 (diff) |
sd-dhcp-server: add basic functionality for creating/destroying server instance
Diffstat (limited to 'src/libsystemd-network/dhcp-network.c')
-rw-r--r-- | src/libsystemd-network/dhcp-network.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-network.c b/src/libsystemd-network/dhcp-network.c index 6fac80e873..266bf13178 100644 --- a/src/libsystemd-network/dhcp-network.c +++ b/src/libsystemd-network/dhcp-network.c @@ -117,6 +117,7 @@ int dhcp_network_bind_udp_socket(be32_t address, uint16_t port) { r = setsockopt(s, IPPROTO_IP, IP_TOS, &tos, sizeof(tos)); if (r < 0) return -errno; + if (address == INADDR_ANY) { int on = 1; |