summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-09-29 22:15:32 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-10-06 19:44:42 +0200
commitc16b58217ade02704fbcdb4aebbcef393c70becd (patch)
treee8b90c9ce13941d3b15bbb81f52df58107964caf /src
parentnetwork: drop struct IPv6ProxyNDPAddress (diff)
downloadsystemd-c16b58217ade02704fbcdb4aebbcef393c70becd.tar.xz
systemd-c16b58217ade02704fbcdb4aebbcef393c70becd.zip
network: rename ipv6_proxy_ndp_addresses_configure() -> link_set_ipv6_proxy_ndp_addresses()
Diffstat (limited to 'src')
-rw-r--r--src/network/networkd-ipv6-proxy-ndp.c2
-rw-r--r--src/network/networkd-ipv6-proxy-ndp.h2
-rw-r--r--src/network/networkd-link.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/network/networkd-ipv6-proxy-ndp.c b/src/network/networkd-ipv6-proxy-ndp.c
index fc429d25b2..6aacadfedf 100644
--- a/src/network/networkd-ipv6-proxy-ndp.c
+++ b/src/network/networkd-ipv6-proxy-ndp.c
@@ -92,7 +92,7 @@ static int ipv6_proxy_ndp_set(Link *link) {
}
/* configure all ipv6 proxy ndp addresses */
-int ipv6_proxy_ndp_addresses_configure(Link *link) {
+int link_set_ipv6_proxy_ndp_addresses(Link *link) {
struct in6_addr *address;
int r;
diff --git a/src/network/networkd-ipv6-proxy-ndp.h b/src/network/networkd-ipv6-proxy-ndp.h
index c7590001ff..e58b17ec94 100644
--- a/src/network/networkd-ipv6-proxy-ndp.h
+++ b/src/network/networkd-ipv6-proxy-ndp.h
@@ -5,6 +5,6 @@
typedef struct Link Link;
-int ipv6_proxy_ndp_addresses_configure(Link *link);
+int link_set_ipv6_proxy_ndp_addresses(Link *link);
CONFIG_PARSER_PROTOTYPE(config_parse_ipv6_proxy_ndp_address);
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 36f627c48c..b161f1801e 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -2896,7 +2896,7 @@ static int link_configure(Link *link) {
if (r < 0)
return r;
- r = ipv6_proxy_ndp_addresses_configure(link);
+ r = link_set_ipv6_proxy_ndp_addresses(link);
if (r < 0)
return r;