import (
"bytes"
- "log"
"sync"
"time"
if confs[*peerId].Up != "" {
result, err := govpn.ScriptCall(confs[*peerId].Up, ifaceName, remoteAddr)
if err != nil {
- log.Println("Script", confs[*peerId].Up, "call failed", err)
+ govpn.Println("Script", confs[*peerId].Up, "call failed", err)
return "", err
}
if ifaceName == "" {
}
}
if ifaceName == "" {
- log.Println("Can not obtain interface name for", *peerId)
+ govpn.Println("Can not obtain interface name for", *peerId)
}
return ifaceName, nil
}