summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-server-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-24 19:38:17 +0200
committerTom Gundersen <teg@jklm.no>2014-06-13 16:53:13 +0200
commit3a864fe4a894745ac61f1ecabd7cadf04139a284 (patch)
treeedd58095ea36a2a9e5d5f51eb7e1aea2f3c51453 /src/libsystemd-network/dhcp-server-internal.h
parentff734080aa02cd70b13bc0fdeec4a5886166163a (diff)
sd-dhcp-server: bind to a given interface
We will (at least at first), restrict our focus to running the server on at most one interface.
Diffstat (limited to 'src/libsystemd-network/dhcp-server-internal.h')
-rw-r--r--src/libsystemd-network/dhcp-server-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-server-internal.h b/src/libsystemd-network/dhcp-server-internal.h
index 8191ef7fd7..6484dd37ec 100644
--- a/src/libsystemd-network/dhcp-server-internal.h
+++ b/src/libsystemd-network/dhcp-server-internal.h
@@ -34,6 +34,8 @@ struct sd_dhcp_server {
int event_priority;
sd_event_source *receive_message;
int fd;
+
+ int index;
};
DEFINE_TRIVIAL_CLEANUP_FUNC(sd_dhcp_server*, sd_dhcp_server_unref);