diff options
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | 2015-09-10 14:57:41 -0300 |
---|---|---|
committer | Jiri Pirko <jiri@resnulli.us> | 2015-09-11 09:16:43 +0200 |
commit | fc7cb7cd00d7ef51defa77537c05b77fd921ba7b (patch) | |
tree | 26e0f7544812411be8a89c9c68b531902976036e | |
parent | 83bf03d7a06a511fbd852b63c3954b38ef07ccd2 (diff) | |
download | libteam-fc7cb7cd00d7ef51defa77537c05b77fd921ba7b.tar.gz |
teamd: fix cut&paste issue on delay_up
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: b171e6fa41f6 ("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>
-rw-r--r-- | teamd/teamd_lw_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/teamd/teamd_lw_ethtool.c b/teamd/teamd_lw_ethtool.c index 8502109..2010136 100644 --- a/teamd/teamd_lw_ethtool.c +++ b/teamd/teamd_lw_ethtool.c @@ -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."); |