Skip to content

Commit

Permalink
Merge pull request #111 from telekom-mms/bugfix/trafpol-and-vpnstatus…
Browse files Browse the repository at this point in the history
…-fixes

Bugfix/trafpol and vpnstatus fixes
  • Loading branch information
hwipl committed Jul 30, 2024
2 parents ed613c1 + 41e6d7e commit 6fd711f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/trafpol/trafpol.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (t *TrafPol) handleDNSUpdate() {
// update allowed names
t.resolver.Resolve()

// triger captive portal detection
// trigger captive portal detection
t.cpd.Probe()
}

Expand Down
1 change: 1 addition & 0 deletions pkg/vpnstatus/status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ func TestStatusCopy(t *testing.T) {
TrustedNetwork: TrustedNetworkNotTrusted,
ConnectionState: ConnectionStateConnected,
IP: "192.168.1.1",
Device: "test-tun0",
Server: "test server 1",
ServerIP: "10.0.0.1",
ConnectedAt: 1700000000,
Expand Down

0 comments on commit 6fd711f

Please sign in to comment.