]> granicus.if.org Git - libnl/commit
[LIBNL]: nfnetlink_log: only set hwproto if not zero
authorPatrick McHardy <kaber@trash.net>
Fri, 18 Jan 2008 16:55:54 +0000 (17:55 +0100)
committerThomas Graf <tgr@deb.localdomain>
Thu, 7 Feb 2008 12:01:12 +0000 (13:01 +0100)
commit5618ea8f5a1cf417fec434788b4b14cc7fcbe246
treec335da64f9ac6db69ef2b10c3a2211a3ef95cfa0
parente72cb033f2f7323b63f3e640a37e7a75558ab128
[LIBNL]: nfnetlink_log: only set hwproto if not zero

The hwproto doesn't have its own attribute and is also present when
not set. Don't set the attribute if its value is zero.

Signed-off-by: Patrick McHardy <kaber@trash.net>
lib/netfilter/log.c