diff options
Diffstat (limited to 'p2p')
-rw-r--r-- | p2p/nat/nat.go | 3 | ||||
-rw-r--r-- | p2p/nat/natpmp.go | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/p2p/nat/nat.go b/p2p/nat/nat.go index 27cb82ad4..cafe81733 100644 --- a/p2p/nat/nat.go +++ b/p2p/nat/nat.go @@ -25,8 +25,9 @@ import ( "sync" "time" + natpmp "github.com/jackpal/go-nat-pmp" + "github.com/dexon-foundation/dexon/log" - "github.com/jackpal/go-nat-pmp" ) // An implementation of nat.Interface can map local ports to ports diff --git a/p2p/nat/natpmp.go b/p2p/nat/natpmp.go index 8ba971472..7f85543f8 100644 --- a/p2p/nat/natpmp.go +++ b/p2p/nat/natpmp.go @@ -22,7 +22,7 @@ import ( "strings" "time" - "github.com/jackpal/go-nat-pmp" + natpmp "github.com/jackpal/go-nat-pmp" ) // natPMPClient adapts the NAT-PMP protocol implementation so it conforms to |