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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user