• Felix Lange's avatar
    p2p/nat: add test for UPnP auto discovery via SSDP · 663d4e0a
    Felix Lange authored
    The test listens for multicast UDP packets on the default interface
    because I couldn't get it to work reliably on loopback without massive
    changes to goupnp. This means that the test might fail when there is a
    UPnP-enabled router attached on that interface. I checked that locally
    by looping the test and it passes reliably because the local SSDP server
    always responds faster.
    663d4e0a
natupnp_test.go 7.95 KB