diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-01-11 13:40:10 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-01-11 16:37:13 -0500 |
commit | cbd50adce0c07110565a53883e8250ea96c6d0af (patch) | |
tree | e502bb484556263d0d2b6f9efba2f446de6ee5b6 /src/systemctl | |
parent | c65aafbb3371db9047ad688493400a0b881c3949 (diff) |
networkd: reorder gperf fields
In eb64b435ebb2a7cb1274d5 ActiveSlave/PrimarySlave were inserted in between
IPv6AcceptRA and IPv6AcceptRouterAdvertisements and the comment then didn't
make sense. It turns out that gperf does not understand C-style comments, and
that there's no comment syntax in the keywords section. The following was
generated:
{"/* legacy alias for the above */"},
{"Network.IPv6AcceptRA", config_parse_tristate, 0, offsetof(Network, ipv6_accept_ra)},
In practice this wouldn't lead to problems because this fake pattern would be
hard to match, but it seems better to remove the comments altogether.
Readers of the .gperf file will have to look for the repeated output field to
notice legacy options. To make this easier, let's always keep the legacy option
second.
Diffstat (limited to 'src/systemctl')
0 files changed, 0 insertions, 0 deletions