diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-02-07 13:47:58 +0100 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2024-02-19 14:15:07 +0100 |
| commit | 27a3ffe6d065ffe53c11f7629ba29987e39b8aeb (patch) | |
| tree | eabd55099f4047a07d66e4a7489a2fade08218df | |
| parent | 3c0fdb36f4dc94d5e2a541965657a1dae8978ac6 (diff) | |
Exports: Set proper wg support boolean
| -rw-r--r-- | exports/exports.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/exports/exports.go b/exports/exports.go index 9ae85c8..be56c81 100644 --- a/exports/exports.go +++ b/exports/exports.go @@ -831,7 +831,8 @@ func SetSupportWireguard(support C.int) *C.char { if stateErr != nil { return getCError(stateErr) } - state.SupportsWireguard = support != 0 + // TODO: Do not do any nested struct member here + state.Servers.WGSupport = support != 0 return nil } |
