summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-radv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-radv.c')
-rw-r--r--src/network/networkd-radv.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/network/networkd-radv.c b/src/network/networkd-radv.c
index 507f0a0ccc..f6e1841c05 100644
--- a/src/network/networkd-radv.c
+++ b/src/network/networkd-radv.c
@@ -582,15 +582,10 @@ static int radv_is_ready_to_configure(Link *link) {
return true;
}
-int request_process_radv(Request *req) {
- Link *link;
+int radv_process_request(Request *req, Link *link, void *userdata) {
int r;
- assert(req);
- assert(req->link);
- assert(req->type == REQUEST_TYPE_RADV);
-
- link = req->link;
+ assert(link);
r = radv_is_ready_to_configure(link);
if (r <= 0)