Do not need to use logrus, not using any features of it here.

Signed-off-by: Justin Cormack <justin@specialbusservice.com>
This commit is contained in:
Justin Cormack
2016-09-10 17:28:08 +01:00
committed by Justin Cormack
parent 28afc72a97
commit d0c3e873f6
34 changed files with 13 additions and 2287 deletions

View File

@@ -4,10 +4,9 @@ import (
"bytes"
"encoding/binary"
"io"
"log"
"net"
"sync"
"github.com/Sirupsen/logrus"
)
type udpListener interface {
@@ -32,7 +31,7 @@ func (u *udpEncapsulator) getConn() (net.Conn, error) {
}
conn, err := u.listener.Accept()
if err != nil {
logrus.Printf("Failed to accept connection: %#v", err)
log.Printf("Failed to accept connection: %#v", err)
return nil, err
}
u.conn = &conn