aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tunnel/firewall
diff options
context:
space:
mode:
Diffstat (limited to 'tunnel/firewall')
-rw-r--r--tunnel/firewall/blocker.go2
-rw-r--r--tunnel/firewall/syscall_windows.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/tunnel/firewall/blocker.go b/tunnel/firewall/blocker.go
index e02fd05f..605b47bf 100644
--- a/tunnel/firewall/blocker.go
+++ b/tunnel/firewall/blocker.go
@@ -73,7 +73,7 @@ func registerBaseObjects(session uintptr) (*baseObjects, error) {
}
err = fwpmProviderAdd0(session, &provider, 0)
if err != nil {
- //TODO: cleanup entire call chain of these if failure?
+ // TODO: cleanup entire call chain of these if failure?
return nil, wrapErr(err)
}
}
diff --git a/tunnel/firewall/syscall_windows.go b/tunnel/firewall/syscall_windows.go
index 0f247d85..195137ad 100644
--- a/tunnel/firewall/syscall_windows.go
+++ b/tunnel/firewall/syscall_windows.go
@@ -35,7 +35,7 @@ package firewall
// https://docs.microsoft.com/en-us/windows/desktop/api/fwpmu/nf-fwpmu-fwpmprovideradd0
//sys fwpmProviderAdd0(engineHandle uintptr, provider *wtFwpmProvider0, sd uintptr) (err error) [failretval!=0] = fwpuclnt.FwpmProviderAdd0
-//TODO: Add these to x/sys/windows:
+// TODO: Add these to x/sys/windows:
// https://docs.microsoft.com/en-us/windows/desktop/api/securitybaseapi/nf-securitybaseapi-getsididentifierauthority
//sys getSidIdentifierAuthority(sid *windows.SID) (authority *windows.SidIdentifierAuthority) = advapi32.GetSidIdentifierAuthority