summaryrefslogtreecommitdiff
path: root/vpn/plugins/wireguard.c
diff options
context:
space:
mode:
Diffstat (limited to 'vpn/plugins/wireguard.c')
-rw-r--r--vpn/plugins/wireguard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpn/plugins/wireguard.c b/vpn/plugins/wireguard.c
index 7541dd6e..ec57c93d 100644
--- a/vpn/plugins/wireguard.c
+++ b/vpn/plugins/wireguard.c
@@ -243,7 +243,7 @@ static char *get_ifname(void)
for (i = 0; i < 256; i++) {
data.ifname = g_strdup_printf("wg%d", i);
data.found = false;
- __vpn_ipconfig_foreach(ifname_check_cb, &data);
+ vpn_ipconfig_foreach(ifname_check_cb, &data);
if (!data.found)
return data.ifname;