Skip to content

Commit

Permalink
openfortivpn: Use provider as parameter for vpn_died()
Browse files Browse the repository at this point in the history
[openfortivpn] User provider as parameter for vpn_died(). Fixes JB#61780

vpn.c:vpn_died() expects a pointer to the provider when called.
  • Loading branch information
LaakkonenJussi committed Mar 28, 2024
1 parent c4879ac commit c7ee27d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connman/vpn/plugins/openfortivpn.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ static void ofv_died(struct connman_task *task, int exit_code, void *user_data)
struct ofv_private_data *data = user_data;

DBG("task %p, code %d, data %p", task, exit_code, user_data);
vpn_died(task, exit_code, user_data);
vpn_died(task, exit_code, data->provider);
free_private_data(data);
}

Expand Down

0 comments on commit c7ee27d

Please sign in to comment.