Skip to content

Commit

Permalink
netconfig: fix segfault on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
illiliti committed Nov 6, 2021
1 parent ff64d4a commit 2104a15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/netconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,7 @@ static void netconfig_dhcp6_event_handler(struct l_dhcp6_client *client,
{
const struct l_dhcp6_lease *lease =
l_dhcp6_client_get_lease(netconfig->dhcp6_client);
if (!lease) return;
_auto_(l_free) char *addr_str =
l_dhcp6_lease_get_address(lease);
struct l_rtnl_address *address;
Expand Down

0 comments on commit 2104a15

Please sign in to comment.