1
0
mirror of https://github.com/systemd/systemd synced 2025-09-24 14:24:46 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Yu Watanabe
2ac7eec3b5 network: fix use of uninitialized value
Follow-up for 6e537f62d71edea5bfcd2e2675c35ee840ffdc1f.
2020-07-30 07:38:18 +02:00
Michael Marley
b209cff2ad network: Fix "Unknown section 'DHCPv6PrefixDelegation'." message
Follow-up for 99e015e28c
2020-07-30 10:34:47 +09:00
2 changed files with 2 additions and 1 deletions

View File

@ -548,7 +548,7 @@ static int dhcp4_remove_all(Link *link) {
}
static int dhcp_lease_lost(Link *link) {
int k, r;
int k, r = 0;
assert(link);
assert(link->dhcp_lease);

View File

@ -501,6 +501,7 @@ int network_load_one(Manager *manager, OrderedHashmap **networks, const char *fi
"DHCP\0" /* compat */
"DHCPv4\0"
"DHCPv6\0"
"DHCPv6PrefixDelegation\0"
"DHCPServer\0"
"IPv6AcceptRA\0"
"IPv6NDPProxyAddress\0"