summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-server-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-24 23:03:49 +0200
committerTom Gundersen <teg@jklm.no>2014-06-13 16:53:13 +0200
commit8de4a226c71ef43e652274b33b5d19211a44ac7b (patch)
tree29e6c012c969e7608ed330834581fe305f164335 /src/libsystemd-network/dhcp-server-internal.h
parent816e2e7af96886e4a43194042ef61ba9fec2c77d (diff)
sd-dhcp-server: bind to raw socket for sending
We would like to use the UDP socket, but we cannot as we need to specify the MAC address manually.
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 3d49cba917..6c2f2b4070 100644
--- a/src/libsystemd-network/dhcp-server-internal.h
+++ b/src/libsystemd-network/dhcp-server-internal.h
@@ -36,6 +36,7 @@ struct sd_dhcp_server {
int event_priority;
sd_event_source *receive_message;
int fd;
+ int fd_raw;
int index;
};