1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

The timeout Sniffer option is set to 1000 by default.

This commit is contained in:
Matias Fontanini
2014-08-31 18:34:52 -03:00
parent 83ced826d0
commit b6fdba0077
2 changed files with 10 additions and 6 deletions

View File

@@ -479,6 +479,13 @@ namespace Tins {
*/
static const unsigned DEFAULT_SNAP_LEN;
/**
* \brief The default timeout.
*
* This is 1000 by default.
*/
static const unsigned DEFAULT_TIMEOUT;
/**
* Default constructs a SnifferConfiguration.
*/
@@ -537,7 +544,6 @@ namespace Tins {
bool _rfmon;
bool _has_filter;
std::string _filter;
bool _has_timeout;
unsigned _timeout;
};