summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-07-17 02:46:36 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-07-17 16:13:40 +0200
commit2eff7cc59c7fe205c249ab218a42f3a520845e4a (patch)
tree5a72d8c77341f9b37009361fe3cd87464c4357f5
parentnetwork: drop fallback mechanism to assign DHCPv6 addresses with IFA_F_NOPREF... (diff)
downloadsystemd-2eff7cc59c7fe205c249ab218a42f3a520845e4a.tar.xz
systemd-2eff7cc59c7fe205c249ab218a42f3a520845e4a.zip
network: drop unnecessary line breaks
-rw-r--r--src/network/networkd-dhcp6.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c
index 0a011c5b38..9d552761c7 100644
--- a/src/network/networkd-dhcp6.c
+++ b/src/network/networkd-dhcp6.c
@@ -436,10 +436,8 @@ static int dhcp6_address_change(
addr->family = AF_INET6;
addr->in_addr.in6 = *ip6_addr;
-
addr->flags = IFA_F_NOPREFIXROUTE;
addr->prefixlen = 128;
-
addr->cinfo.ifa_prefered = lifetime_preferred;
addr->cinfo.ifa_valid = lifetime_valid;