From f3dd9ca7aa7d371e1f492b7724cc66fdb4dd81aa Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Mon, 25 May 2020 16:32:12 +0300 Subject: [PATCH] fix --- dhcpd/dhcpd.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dhcpd/dhcpd.go b/dhcpd/dhcpd.go index fff30f44..ac1a23a6 100644 --- a/dhcpd/dhcpd.go +++ b/dhcpd/dhcpd.go @@ -178,3 +178,8 @@ func (s *Server) FindMACbyIP(ip net.IP) net.HardwareAddr { } return s.srv6.FindMACbyIP(ip) } + +// AddStaticLease - add static v4 lease +func (s *Server) AddStaticLease(lease Lease) error { + return s.srv4.AddStaticLease(lease) +}