From 143a86a28a3465776f803f6b99b9f3c64b26400e Mon Sep 17 00:00:00 2001
From: Simon Zolin <s.zolin@adguard.com>
Date: Fri, 31 Jan 2020 13:26:47 +0300
Subject: [PATCH] linter

---
 dhcpd/network_utils.go | 1 +
 home/network_utils.go  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dhcpd/network_utils.go b/dhcpd/network_utils.go
index 30180df2..0c933cbc 100644
--- a/dhcpd/network_utils.go
+++ b/dhcpd/network_utils.go
@@ -47,6 +47,7 @@ func getValidNetInterfaces() ([]net.Interface, error) {
 
 // getValidNetInterfacesMap returns interfaces that are eligible for DNS and WEB only
 // we do not return link-local addresses here
+// nolint:dupl
 func getValidNetInterfacesForWeb() ([]netInterface, error) {
 	ifaces, err := getValidNetInterfaces()
 	if err != nil {
diff --git a/home/network_utils.go b/home/network_utils.go
index 04112001..146e4623 100644
--- a/home/network_utils.go
+++ b/home/network_utils.go
@@ -51,6 +51,7 @@ func getValidNetInterfaces() ([]net.Interface, error) {
 
 // getValidNetInterfacesMap returns interfaces that are eligible for DNS and WEB only
 // we do not return link-local addresses here
+// nolint:dupl
 func getValidNetInterfacesForWeb() ([]netInterface, error) {
 	ifaces, err := getValidNetInterfaces()
 	if err != nil {