master
brl 10 years ago
parent d1bb0fdeec
commit 18bfbe034d

@ -85,7 +85,7 @@ func (fs *Filesystem) Setup(profilesPath string) error {
for _, bd := range basicBindDirs { for _, bd := range basicBindDirs {
if bd == profilesPath { if bd == profilesPath {
profilePathInBindDirs = true profilePathInBindDirs = true
break; break
} }
} }

@ -4,8 +4,8 @@ import (
//Builtin //Builtin
"fmt" "fmt"
"net" "net"
"strings"
"strconv" "strconv"
"strings"
"github.com/op/go-logging" "github.com/op/go-logging"
) )
@ -71,7 +71,6 @@ func init() {
} }
} }
// Print status of the network interfaces // Print status of the network interfaces
func NetPrint(log *logging.Logger) { func NetPrint(log *logging.Logger) {
strLine := "" strLine := ""
@ -139,7 +138,6 @@ func NetPrint(log *logging.Logger) {
} }
// Convert longip to net.IP // Convert longip to net.IP
func inet_ntoa(ipnr uint64) net.IP { func inet_ntoa(ipnr uint64) net.IP {
var bytes [4]byte var bytes [4]byte

Loading…
Cancel
Save