fix doc and lint warns for iface package

This commit is contained in:
mlsmaycon
2021-05-15 15:05:15 +05:00
parent 9554247d70
commit 2337c3d84d
3 changed files with 20 additions and 12 deletions

View File

@ -7,9 +7,9 @@ import (
"strings"
)
const (
interfacePrefix = "utun"
)
//const (
// interfacePrefix = "utun"
//)
// assignAddr Adds IP address to the tunnel interface and network route based on the range provided
func assignAddr(iface string, address string) error {