Skip to content

Commit

Permalink
teamd: fix cut&paste issue on delay_up
Browse files Browse the repository at this point in the history
While migrating to the new config system, something happened and
delay_up variable got renamed to queue_id, which then persisted through
a code move.

Fixes: b171e6f ("teamd: lw: convert to use teamd config getters")
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
  • Loading branch information
marceloleitner authored and jpirko committed Sep 11, 2015
1 parent 83bf03d commit fc7cb7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teamd/teamd_lw_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static int lw_ethtool_load_options(struct teamd_context *ctx,
int err;
int tmp;

err = teamd_config_int_get(ctx, &tmp, "@.queue_id", cpcookie);
err = teamd_config_int_get(ctx, &tmp, "@.delay_up", cpcookie);
if (!err) {
if (tmp < 0) {
teamd_log_err("\"delay_up\" must not be negative number.");
Expand Down

0 comments on commit fc7cb7c

Please sign in to comment.