diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-06-23 11:46:48 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-06-24 13:45:47 +0200 |
commit | c1df8dee2811e76ec2f7306f13b7559044a88842 (patch) | |
tree | 8c348058b27cca9b24c6f23431da452fcc4bcd34 /src/basic/ether-addr-util.h | |
parent | 6c14ad61db68e24932329c4137198ef7f46e35e8 (diff) |
sd-netlink: turn 'max' into 'count' to support empty type-systems
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.
Diffstat (limited to 'src/basic/ether-addr-util.h')
0 files changed, 0 insertions, 0 deletions