From the manual page:
> Sets or gets the status of the `direction filter` flag. If
> non-zero, packets matching the specified direction (either
> `BPF_DIRECTION_IN` or `BPF_DIRECTION_OUT`) will be ignored.
+ Segfault in lldpcli.
+ Memory leak in liblldpctl when using a custom log handler.
+ Fix some unaligned memory accesses.
+ + Fix frame reception on OpenBSD.
* Features:
+ Allow to configure hold value from lldpcli (and hence the TTL).
+ Allow to configure pattern for valid interfaces from lldpcli.
/* Don't see sent packets */
#ifdef HOST_OS_OPENBSD
- enable = BPF_DIRECTION_IN;
+ enable = BPF_DIRECTION_OUT;
if (ioctl(fd, BIOCSDIRFILT, (caddr_t)&enable) < 0)
#else
enable = 0;