aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tunnel/firewall
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-06-06 15:44:29 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-06-07 11:31:53 +0200
commit6f9a7593646c6af0d4f19af2f669ce28b6e30cab (patch)
treedd1e16a34fafff9635381e21e99c65421ed5cbf4 /tunnel/firewall
parenttunnel: perform full stop on shutdown (diff)
downloadwireguard-windows-6f9a7593646c6af0d4f19af2f669ce28b6e30cab.tar.xz
wireguard-windows-6f9a7593646c6af0d4f19af2f669ce28b6e30cab.zip
global: cleanup TODO comment spacing
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
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