mirror of
https://github.com/mfontanini/libtins
synced 2026-01-29 21:14:28 +01:00
Fixed BaseSniffer::next_packet() to return when error occurred. Updated its documentation.
Signed-off-by: Matias Fontanini <matias.fontanini@gmail.com>
This commit is contained in:
committed by
Matias Fontanini
parent
d0048e3aef
commit
28e5df3abc
@@ -68,7 +68,8 @@ namespace Tins {
|
||||
* sniffer's filter, or the first sniffed packet if no filter has
|
||||
* been set.
|
||||
* \return The captured packet, matching the given filter, 0 if an
|
||||
* error occured(probably compiling the filter).
|
||||
* error occured(probably compiling the filter). Caller takes
|
||||
* ownership of the packet.
|
||||
*/
|
||||
PDU *next_packet();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user