Skip to content

Commit

Permalink
Auth notifications for unknown peers
Browse files Browse the repository at this point in the history
  • Loading branch information
leninalive committed Sep 6, 2024
1 parent 7e96dc0 commit 49235a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/peer-approver/notification-listener.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static int run_callback(char *ifname, char *pubkey, char *endpoint_ip, bool adva
new_argv[cb_argc - 2] = endpoint_ip;
new_argv[cb_argc - 1] = (advanced_security ? "on\0" : "off\0");
new_argv[cb_argc] = NULL;
int ret = execv(cb_argv[0], new_argv);
int ret = execv(cb_argv[1], new_argv);
free(new_argv);
return ret;
}
Expand Down

0 comments on commit 49235a0

Please sign in to comment.