summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-dhcp-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-dhcp-server.c')
-rw-r--r--src/network/networkd-dhcp-server.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/network/networkd-dhcp-server.c b/src/network/networkd-dhcp-server.c
index 795ad686af..b11ff073bc 100644
--- a/src/network/networkd-dhcp-server.c
+++ b/src/network/networkd-dhcp-server.c
@@ -567,13 +567,10 @@ static bool dhcp_server_is_ready_to_configure(Link *link) {
return true;
}
-int request_process_dhcp_server(Request *req) {
- Link *link;
+int dhcp_server_process_request(Request *req, Link *link, void *userdata) {
int r;
- assert(req);
- assert(req->type == REQUEST_TYPE_DHCP_SERVER);
- assert_se(link = req->link);
+ assert(link);
if (!dhcp_server_is_ready_to_configure(link))
return 0;