35 lines
977 B
Diff
35 lines
977 B
Diff
From f1835bc849fad80e053d3e1e7a8b117ee6e6284d Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
|
|
Date: Wed, 11 May 2022 21:30:54 +0300
|
|
Subject: [PATCH] rdnssd: remove unused parameter
|
|
|
|
---
|
|
rdnss/rdnssd.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/rdnss/rdnssd.c b/rdnss/rdnssd.c
|
|
index 57942d3..b87edb2 100644
|
|
--- a/rdnss/rdnssd.c
|
|
+++ b/rdnss/rdnssd.c
|
|
@@ -291,7 +291,7 @@ void parse_rdnss (const struct nd_opt_hdr *opt, unsigned int ifindex)
|
|
rdnss_update(addr, ifindex, lifetime);
|
|
}
|
|
|
|
-void parse_dnssl (const struct nd_opt_hdr *opt, unsigned int ifindex)
|
|
+void parse_dnssl (const struct nd_opt_hdr *opt)
|
|
{
|
|
struct nd_opt_dnssl *dnssl_opt;
|
|
size_t nd_opt_len = opt->nd_opt_len;
|
|
@@ -396,7 +396,7 @@ int parse_nd_opts (const struct nd_opt_hdr *opt, size_t opts_len, unsigned int i
|
|
break;
|
|
|
|
case ND_OPT_DNSSL:
|
|
- parse_dnssl(opt, ifindex);
|
|
+ parse_dnssl(opt);
|
|
break;
|
|
|
|
default:
|
|
--
|
|
2.27.0
|
|
|