File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,11 @@ import (
12
12
13
13
quic "github.com/lucas-clemente/quic-go"
14
14
"github.com/netsec-ethz/scion-apps/lib/scionutil"
15
- "github.com/scionproto/scion/go/lib/log"
15
+ scionlog "github.com/scionproto/scion/go/lib/log"
16
16
"github.com/scionproto/scion/go/lib/snet"
17
17
"github.com/scionproto/scion/go/lib/snet/squic"
18
+
19
+ log "github.com/inconshreveable/log15"
18
20
)
19
21
20
22
func printUsage () {
@@ -31,19 +33,20 @@ func printUsage() {
31
33
}
32
34
33
35
func main () {
34
- log .SetupLogConsole ("debug" )
36
+ scionlog .SetupLogConsole ("debug" )
37
+
35
38
log .Debug ("Launching netcat" )
36
39
37
40
var (
38
- remoteAddressString string
39
- port uint16
40
- localAddrString string
41
+ remoteAddressString string
42
+ port uint16
43
+ localAddrString string
41
44
42
45
quicTLSKeyPath string
43
46
quicTLSCertificatePath string
44
-
45
- extraByte bool
46
- listen bool
47
+
48
+ extraByte bool
49
+ listen bool
47
50
)
48
51
flag .Usage = printUsage
49
52
flag .StringVar (& remoteAddressString , "local" , "" , "Local address string" )
You can’t perform that action at this time.
0 commit comments