From c39acaee43a5b76d9266a622e9bd4a2ca4c4b19b Mon Sep 17 00:00:00 2001 From: ston1th Date: Sun, 26 Sep 2021 19:48:01 +0200 Subject: [PATCH] added CIDR method --- alloc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/alloc.go b/alloc.go index 5bb635b..2ad4bed 100644 --- a/alloc.go +++ b/alloc.go @@ -17,6 +17,7 @@ type Allocator interface { Free(*net.IPAddr) error FreeCIDR(cidr string) error SetStore(store Store) + CIDR(*net.IPAddr) string } type GenericAlloc struct {