]> git.ipfire.org Git - thirdparty/libnl.git/commit
attr: Allow attribute type 0
authorThomas Graf <tgraf@suug.ch>
Thu, 28 Nov 2013 22:14:38 +0000 (23:14 +0100)
committerThomas Graf <tgraf@suug.ch>
Thu, 28 Nov 2013 22:14:38 +0000 (23:14 +0100)
commit6a8d90f5fec48b6e376ff29ccf3e0c620a41e758
tree89a63fbb27bca76f637a4fbfdcda2c1385d349c0
parentbda0f668b6355e84b1db89d934e8e5062a2ef0bb
attr: Allow attribute type 0

{netlink,packet,unix}_diag use attribute type 0 for valid
attributes. The value was reserved and usage was prohibited
by the protocol but we can't undo the breakge.

Make libnl accept attribute type 0 to allow parsing these
attributes.

Reported-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
lib/attr.c