]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix compile error against miniupnpc-1.6 when --enable-upnp
authorAnthony G. Basile <blueness@gentoo.org>
Thu, 22 Mar 2012 16:09:40 +0000 (12:09 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 24 Apr 2012 14:56:39 +0000 (10:56 -0400)
commitcffc85bb0b606947b2368fa28bed03c066e1e686
treebbafbb927851d5c97e0062eeed5720612e08d967
parentbdd7e2878b642e3ab06a62d9097ae5e7484240e9
Fix compile error against miniupnpc-1.6 when --enable-upnp

The bump from miniupnpc-1.5 to 1.6 changes the definition of
two functions used by tor-fw-helper-upnp.c, upnpDiscover() and
UPNP_AddPortMapping().  This patch addresses this and adds a
check in configure.in for backwards compatibility.

Thanks to Nickolay Kolchin-Semyonov for some hints.

X-Tor-Bug-URL: https://trac.torproject.org/projects/tor/ticket/5434
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=376621
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
configure.in
src/tools/tor-fw-helper/tor-fw-helper-upnp.c