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

@@ -6,9 +6,9 @@ import (
"os"
)
const (
interfacePrefix = "wg"
)
//const (
// interfacePrefix = "wg"
//)
// assignAddr Adds IP address to the tunnel interface
func assignAddr(iface string, address string) error {