• Steven Allen's avatar
    Revert "Try to map external port the same as internal port" · 523cb01f
    Steven Allen authored
    This reverts commit 3fa58ced.
    
    Its safer to just pick a random port. Unfortunately, some NATs (e.g., mine) suck
    and will happily map a port that's already been mapped elsewhere (e.g., in the
    port forwarding config).
    
    While this patch does the _nice_ thing, it was mostly cosmetic.
    523cb01f
upnp.go 7.48 KB