upnp: lookup the best interface to use libupnp with
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Fri, 17 Mar 2017 17:37:32 +0000 (18:37 +0100)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Fri, 17 Mar 2017 17:44:08 +0000 (18:44 +0100)
commite4d90da06b95172910406eafc94ac68722f66cff
treef9d375f7508af42131dc688d72de9cfbd02c6362
parentaf7f15a8cec92c669a6b4c0e64ad909574a79abf
upnp: lookup the best interface to use libupnp with

libupnp cannot handle more than one interface/IP at a time, so we need to make
sure we use an appropriate one.
Original patch by: Steve Lhomme <robux4@videolabs.io>

Fix #14526
modules/services_discovery/upnp.cpp