diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-06-20 19:45:45 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-06-20 22:05:43 -0400 |
commit | 81577dc22887debaf9b19bf1034a2887fb9069c7 (patch) | |
tree | 696ec5ebfcee52a1257dd9a1f1d1054b08779ecb /src/hostname/hostnamectl.c | |
parent | 747cf8cdf61cdad068c727e42eac699f2505ae77 (diff) |
missing.h: add various network enums
We used to check if e.g. IFLA_BOND_MAX is defined and provide fallback
values in missing.h is it wasn't. But over time, various kernel
versions added IFLA_* defines, so checking for IFLA_BOND_MAX is not
enough if the kernel is new enough to have some of them but too old to
have all. In case we detect that the latest known enum value is
missing, #define most of them.
https://bugs.freedesktop.org/show_bug.cgi?id=80095
Diffstat (limited to 'src/hostname/hostnamectl.c')
0 files changed, 0 insertions, 0 deletions