- if (!unformat (line_input, "lifetime %u", &lifetime) &&
- !unformat (line_input, "ht-ratio %lf", &ht_ratio) &&
- !unformat (line_input, "pool-size %u", &pool_size) &&
- !unformat (line_input, "buffers %llu", &buffers) &&
- !((unformat (line_input, "ip4")) && (ip4 = 1)) &&
- !((unformat (line_input, "ip6")) && (ip6 = 1)))
+ if (unformat (line_input, "lifetime %u", &lifetime))
+ ;
+ else if (unformat (line_input, "ht-ratio %lf", &ht_ratio))
+ ;
+ else if (unformat (line_input, "pool-size %u", &pool_size))
+ ;
+ else if (unformat (line_input, "buffers %llu", &buffers))
+ ;
+ else if (unformat (line_input, "ip4"))
+ ip4 = 1;
+ else if (unformat (line_input, "ip6"))
+ ip6 = 1;
+ else