~fkooman/vpn-user-portal

160ce1a4bfae284e13d0ea7c48664edf26589112 — François Kooman 1 year, 8 months ago 4c8cd21
add "default_gateway" api field
1 files changed, 1 insertions(+), 0 deletions(-)

M src/VpnApiModule.php
M src/VpnApiModule.php => src/VpnApiModule.php +1 -0
@@ 89,6 89,7 @@ class VpnApiModule implements ServiceModuleInterface

                        $responseData['info']['profile_list'][] = [
                            'profile_id' => $profileId,
                            'default_gateway' => $profileConfig->defaultGateway(),
                            'display_name' => $profileConfig->displayName(),
                            'vpn_proto' => 'openvpn',
                        ];