Add stubs to easily build and include all of libnatpmp and miniupnpc in osdep/
This commit is contained in:
parent
c8ca1cfa3c
commit
cfbd7e3bf5
26 changed files with 82 additions and 1931 deletions
|
@ -24,8 +24,6 @@
|
|||
* of your own application.
|
||||
*/
|
||||
|
||||
#ifdef ZT_USE_MINIUPNPC
|
||||
|
||||
#ifndef ZT_PORTMAPPER_HPP
|
||||
#define ZT_PORTMAPPER_HPP
|
||||
|
||||
|
@ -39,7 +37,7 @@
|
|||
/**
|
||||
* How frequently should we refresh our UPNP/NAT-PnP/whatever state?
|
||||
*/
|
||||
#define ZT_PORTMAPPER_REFRESH_DELAY 300000
|
||||
#define ZT_PORTMAPPER_REFRESH_DELAY 120000
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
|
@ -75,5 +73,3 @@ private:
|
|||
} // namespace ZeroTier
|
||||
|
||||
#endif
|
||||
|
||||
#endif // ZT_USE_MINIUPNPC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue