summaryrefslogtreecommitdiff
path: root/internal/failover/ping_windows.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-04-12 22:48:02 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-09-25 09:43:37 +0200
commite361ec863961982e01f3d7f5842245dac88a05fd (patch)
treece5a92cc598d62c9a3c950d5c7bc742405943f64 /internal/failover/ping_windows.go
parent1e54063813efb6e822df36ad39d7f889a7f2e38b (diff)
Format: Run gofumpt (Go) + black (py)
Diffstat (limited to 'internal/failover/ping_windows.go')
-rw-r--r--internal/failover/ping_windows.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/failover/ping_windows.go b/internal/failover/ping_windows.go
index 2a39003..0de1cdf 100644
--- a/internal/failover/ping_windows.go
+++ b/internal/failover/ping_windows.go
@@ -15,5 +15,6 @@ func NewPinger(gateway string, size int) (*Pinger, error) {
return &Pinger{
listener: l,
buffer: make([]byte, size-mtuOverhead),
- gateway: &net.IPAddr{IP: net.ParseIP(gateway)}}, nil
+ gateway: &net.IPAddr{IP: net.ParseIP(gateway)},
+ }, nil
}