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 }