return 0;
}
-static int link_acquire_ipv6_conf(Link *link) {
+static int link_acquire_dynamic_ipv6_conf(Link *link) {
int r;
assert(link);
return 0;
}
-static int link_acquire_ipv4_conf(Link *link) {
+static int link_acquire_dynamic_ipv4_conf(Link *link) {
int r;
assert(link);
return 0;
}
-static int link_acquire_conf(Link *link) {
+static int link_acquire_dynamic_conf(Link *link) {
int r;
assert(link);
- r = link_acquire_ipv4_conf(link);
+ r = link_acquire_dynamic_ipv4_conf(link);
if (r < 0)
return r;
if (in6_addr_is_set(&link->ipv6ll_address)) {
- r = link_acquire_ipv6_conf(link);
+ r = link_acquire_dynamic_ipv6_conf(link);
if (r < 0)
return r;
}
if (!link_has_carrier(link))
return 0;
- return link_acquire_conf(link);
+ return link_acquire_dynamic_conf(link);
}
static int netdev_join_handler(sd_netlink *rtnl, sd_netlink_message *m, Link *link) {
link_check_ready(link);
if (IN_SET(link->state, LINK_STATE_CONFIGURING, LINK_STATE_CONFIGURED)) {
- r = link_acquire_ipv6_conf(link);
+ r = link_acquire_dynamic_ipv6_conf(link);
if (r < 0) {
link_enter_failed(link);
return r;
}
if (IN_SET(link->state, LINK_STATE_CONFIGURING, LINK_STATE_CONFIGURED)) {
- r = link_acquire_conf(link);
+ r = link_acquire_dynamic_conf(link);
if (r < 0) {
link_enter_failed(link);
return r;