]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkd: Bond - AllSlavesActive fix parser 11142/head
authorSusant Sahani <ssahani@gmail.com>
Sat, 15 Dec 2018 12:47:02 +0000 (18:17 +0530)
committerSusant Sahani <ssahani@gmail.com>
Sat, 15 Dec 2018 12:47:02 +0000 (18:17 +0530)
Bond.AllSlavesActive use parser type bool

src/network/netdev/netdev-gperf.gperf

index 39b26b842c582e5a809e40d61ff40f44c1262b68..f7ca98fa4671bb5b6c111ec7c75ac047b2ce4253 100644 (file)
@@ -140,7 +140,7 @@ Bond.PrimaryReselectPolicy,        config_parse_bond_primary_reselect,   0,
 Bond.ResendIGMP,                   config_parse_unsigned,                0,                             offsetof(Bond, resend_igmp)
 Bond.PacketsPerSlave,              config_parse_unsigned,                0,                             offsetof(Bond, packets_per_slave)
 Bond.GratuitousARP,                config_parse_unsigned,                0,                             offsetof(Bond, num_grat_arp)
-Bond.AllSlavesActive,              config_parse_unsigned,                0,                             offsetof(Bond, all_slaves_active)
+Bond.AllSlavesActive,              config_parse_bool,                    0,                             offsetof(Bond, all_slaves_active)
 Bond.DynamicTransmitLoadBalancing, config_parse_tristate,                0,                             offsetof(Bond, tlb_dynamic_lb)
 Bond.MinLinks,                     config_parse_unsigned,                0,                             offsetof(Bond, min_links)
 Bond.MIIMonitorSec,                config_parse_sec,                     0,                             offsetof(Bond, miimon)