summaryrefslogtreecommitdiff
path: root/shell-completion/bash/systemd-detect-virt
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-06-23 11:46:48 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-06-24 13:45:47 +0200
commitc1df8dee2811e76ec2f7306f13b7559044a88842 (patch)
tree8c348058b27cca9b24c6f23431da452fcc4bcd34 /shell-completion/bash/systemd-detect-virt
parent6c14ad61db68e24932329c4137198ef7f46e35e8 (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 'shell-completion/bash/systemd-detect-virt')
0 files changed, 0 insertions, 0 deletions