From b8a5661277874c2ded7da325e278715aee3c845c Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Thu, 21 May 2020 16:37:52 +0300 Subject: [PATCH] minor --- dhcpd/dhcpd_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dhcpd/dhcpd_test.go b/dhcpd/dhcpd_test.go index 2caae1fb..0060c1b1 100644 --- a/dhcpd/dhcpd_test.go +++ b/dhcpd/dhcpd_test.go @@ -16,6 +16,9 @@ func check(t *testing.T, result bool, msg string) { } } +func testNotify(flags uint32) { +} + // Leases database store/load func TestDB(t *testing.T) { var err error @@ -28,7 +31,7 @@ func TestDB(t *testing.T) { RangeEnd: "192.168.10.200", GatewayIP: "192.168.10.1", SubnetMask: "255.255.255.0", - notify: notify4, + notify: testNotify, } s.srv4, err = v4Create(conf) assert.True(t, err == nil)