diff options
Diffstat (limited to 'internal/failover/ping_windows.go')
| -rw-r--r-- | internal/failover/ping_windows.go | 3 |
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 } |
