1
0
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:
Bruno Nery
2012-11-19 10:29:51 -08:00
committed by Matias Fontanini
parent d0048e3aef
commit 28e5df3abc
2 changed files with 12 additions and 18 deletions

View File

@@ -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();