diff --git a/set.go b/set.go index 5c8604d..6844b8a 100644 --- a/set.go +++ b/set.go @@ -63,6 +63,7 @@ type Set struct { Name string Anonymous bool Constant bool + Interval bool KeyType SetDatatype DataLen int @@ -161,6 +162,9 @@ func (cc *Conn) AddSet(s *Set, vals []SetElement) error { if s.Constant { flags |= unix.NFT_SET_CONSTANT } + if s.Interval { + flags |= unix.NFT_SET_INTERVAL + } if s.DataLen > 0 { flags |= unix.NFT_SET_MAP }