D'oh
This commit is contained in:
1 parent
4c1c2a5661
commit
8e374d9416
1 file changed
+1
-1
+1
-1
@@ -75,7 +75,7 @@ func New(logger *log.Logger, maxListSize int) Interface {
|
||||
func (i *ipset) Create(ipsetName Name, ipsetType Type) error {
|
||||
args := []string{"create", string(ipsetName), string(ipsetType)}
|
||||
if ipsetType == ListSet && i.maxListSize > 0 {
|
||||
args = append(args, fmt.Sprintf("size %d", i.maxListSize))
|
||||
args = append(args, "size", fmt.Sprintf("%d", i.maxListSize))
|
||||
}
|
||||
if i.enableComments {
|
||||
args = append(args, "comment")
|
||||
|
||||
Reference in new issue
Block a user