Skip to content

Commit

Permalink
update vpn_others as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jyyi1 committed Dec 6, 2024
1 parent a9746be commit 7586b48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/electron/vpn_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
} from '../src/www/app/outline_server_repository/vpn';

// TODO: Separate this config into LinuxVpnConfig and WindowsVpnConfig. Some fields may share.
interface EstablishVpnConfig {
interface EstablishVpnRequest {
id: string;
interfaceName: string;
connectionName: string;
Expand All @@ -37,7 +37,7 @@ export async function establishVpn(request: StartRequestJson) {
currentRequestId = request.id;
statusCb?.(currentRequestId, TunnelStatus.RECONNECTING);

const config: EstablishVpnConfig = {
const config: EstablishVpnRequest = {
id: currentRequestId,

// TUN device name, compatible with old code:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !linux

package vpn

import "errors"
Expand Down

0 comments on commit 7586b48

Please sign in to comment.