diff options
-rw-r--r-- | src/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c index 48afae1..f3357b5 100644 --- a/src/config.c +++ b/src/config.c @@ -330,6 +330,7 @@ int config_get_device(struct wireguard_device *wg, void __user *user_device) peer_data.out_len = in_device.peers_size; peer_data.data = user_device + sizeof(struct wgdevice); + ret = 0; peer_for_each (wg, peer, temp, false) { ret = populate_peer(peer, &peer_data); if (ret) |