summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-server-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-04 20:57:02 +0200
committerTom Gundersen <teg@jklm.no>2014-08-04 20:58:15 +0200
commit59b8f6b628145586e87b8a4f6e29c755ad7d61ed (patch)
tree77817ab759626160a4a9842c6cddff2b5ed38996 /src/libsystemd-network/dhcp-server-internal.h
parent72d314c8d80f0816afce6ba72cd27ec7ff1c73c1 (diff)
sd-dhcp-server: always send out ROUTER and SUBNET_MASK
For now we simply take these values from the server's address.
Diffstat (limited to 'src/libsystemd-network/dhcp-server-internal.h')
-rw-r--r--src/libsystemd-network/dhcp-server-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-server-internal.h b/src/libsystemd-network/dhcp-server-internal.h
index cdaa471b62..480da22c01 100644
--- a/src/libsystemd-network/dhcp-server-internal.h
+++ b/src/libsystemd-network/dhcp-server-internal.h
@@ -55,6 +55,7 @@ struct sd_dhcp_server {
int index;
be32_t address;
+ be32_t netmask;
be32_t pool_start;
size_t pool_size;
size_t next_offer;