made nat-pmp generate alerts as well, just like upnp

This commit is contained in:
Arvid Norberg
2008-10-22 07:06:58 +00:00
parent 49c01d7754
commit 0ed75c3f64
2 changed files with 58 additions and 71 deletions

View File

@@ -77,6 +77,7 @@ private:
void update_expiration_timer();
void mapping_expired(error_code const& e, int i);
void log(std::string const& msg);
void disable(char const* message);
struct mapping_t
@@ -149,10 +150,6 @@ private:
typedef boost::mutex mutex_t;
mutex_t m_mutex;
#if defined(TORRENT_LOGGING) || defined(TORRENT_VERBOSE_LOGGING)
std::ofstream m_log;
#endif
};
}