mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-03-14 22:48:35 +03:00
linter
This commit is contained in:
parent
e528522ad5
commit
143a86a28a
2 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue