chiark / gitweb /
sd-netlink: turn 'max' into 'count' to support empty type-systems
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 23 Jun 2015 09:46:48 +0000 (11:46 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:04:18 +0000 (10:04 +0100)
Right now we store the maximum type-ID of a type-system. This prevents us
from creating empty type-systems. Store the "count" instead, which should
be treated as max+1.

Note that type_system_union_protocol_get_type_system() currently has a
nasty hack to treat empty type-systems as invalid. This might need some
modification later on as well.


No differences found