Re: [libnetfilter_log 2/3] Set nflog_errno as needed.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Leblond wrote:
> Some FIXME were put to fix some issues related to nflog_errno not being set. In both case, this was
> related to error treatment of libnfnetlink function. As these functions are setting errno to the
> correct value, this patch simply copy errno to nflog_errno in libnetfilter_log.

I doubt that anyone if using nf*_errno at this moment since t is not of
any help. We have no internal errno values different than those defined
in errno.h. I think it's better to use errno instead, at least for this
version of the API. See libnetfilter_conntrack.

For the upcoming version, we can introduce the nf*_errno again and
define internal errors. Same applies for libnetfilter_queue.

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux