resolve merge conflict hell

This commit is contained in:
zelig
2014-12-14 20:57:29 +00:00
parent 4c89d5331f
commit 72290f67fe
4 changed files with 1 additions and 19 deletions

View File

@ -154,22 +154,13 @@ func NatType(natType string, gateway string) (nat p2p.NAT) {
nat = p2p.UPNP()
case "PMP":
ip := net.ParseIP(gateway)
<<<<<<< HEAD
if ip != nil {
clilogger.Fatalf("bad PMP gateway '%s'", gateway)
=======
if ip == nil {
clilogger.Fatalln("cannot resolve PMP gateway IP %s", gateway)
>>>>>>> adapt cmd/cli to new backend
clilogger.Fatalf("cannot resolve PMP gateway IP %s", gateway)
}
nat = p2p.PMP(ip)
case "":
default:
<<<<<<< HEAD
clilogger.Fatalf("unrecognised NAT type '%s'", natType)
=======
clilogger.Fatalln("unrecognised NAT type %s", natType)
>>>>>>> adapt cmd/cli to new backend
}
return
}