From 89f4f0925c22726689ea955f1792d810147656d1 Mon Sep 17 00:00:00 2001 From: furry13 Date: Tue, 8 Oct 2024 17:22:32 +1100 Subject: [PATCH] Fixing formatting gofmt -w internal/plugin/plugin.go --- internal/plugin/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/plugin/plugin.go b/internal/plugin/plugin.go index 1016288..13c8d05 100644 --- a/internal/plugin/plugin.go +++ b/internal/plugin/plugin.go @@ -95,7 +95,7 @@ func NewPREF64(prefix netip.Prefix, maxInterval time.Duration) *PREF64 { // See https://datatracker.ietf.org/doc/html/rfc8781#section-4.1-2 lifetime := maxPref64Lifetime if int(maxInterval.Seconds())*3 < int(lifetime.Seconds()) { - lifetimeSeconds := int(maxInterval.Seconds())*3 + lifetimeSeconds := int(maxInterval.Seconds()) * 3 if r := int(lifetimeSeconds) % 8; r > 0 { lifetimeSeconds += 8 - r }