1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-28 12:44:25 +01:00

Modified set_direction to return a bool

This commit is contained in:
Jesus Llorente
2015-12-21 17:56:18 +02:00
parent 4b9f998784
commit 6b82e50c03
2 changed files with 5 additions and 4 deletions

View File

@@ -218,7 +218,7 @@ namespace Tins {
* This calls pcap_setdirection using the provided parameter.
* \param d The direction for the sniffer.
*/
int set_direction(pcap_direction_t d);
bool set_direction(pcap_direction_t d);
/**
* \brief Sets whether to extract RawPDUs or fully parsed packets.