diff options
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.c b/src/device.c index b8c2390..3bbd0e8 100644 --- a/src/device.c +++ b/src/device.c @@ -54,7 +54,7 @@ static int wg_open(struct net_device *dev) #endif mutex_lock(&wg->device_update_lock); - ret = wg_socket_init(wg, wg->incoming_port); + ret = wg_socket_init(wg, wg->incoming_port, wg->socketdev_index); if (ret < 0) goto out; list_for_each_entry(peer, &wg->peer_list, peer_list) { |