From 8e374d9416b84bd334b0374001586a785b677e80 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Mon, 11 Jun 2018 13:52:15 +0000 Subject: [PATCH] D'oh --- npc/ipset/ipset.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npc/ipset/ipset.go b/npc/ipset/ipset.go index 63516fd9..00f1d105 100644 --- a/npc/ipset/ipset.go +++ b/npc/ipset/ipset.go @@ -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")