diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-06-06 15:44:29 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-06-07 11:31:53 +0200 |
commit | 6f9a7593646c6af0d4f19af2f669ce28b6e30cab (patch) | |
tree | dd1e16a34fafff9635381e21e99c65421ed5cbf4 /tunnel/firewall | |
parent | tunnel: perform full stop on shutdown (diff) | |
download | wireguard-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.go | 2 | ||||
-rw-r--r-- | tunnel/firewall/syscall_windows.go | 2 |
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 |