It should say 'disabled' instead.
Signed-off-by: Flavio Leitner <fbl(a)redhat.com>
---
teamd/teamd_runner_activebackup.c | 2 +-
teamd/teamd_runner_lacp.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/teamd/teamd_runner_activebackup.c b/teamd/teamd_runner_activebackup.c
index 7ed860f..b81f5d0 100644
--- a/teamd/teamd_runner_activebackup.c
+++ b/teamd/teamd_runner_activebackup.c
@@ -440,7 +440,7 @@ static int ab_port_added(struct teamd_context *ctx,
teamd_log_err("Failed to load port config.");
return err;
}
- /* Newly added ports are enabled */
+ /* Newly added ports are disabled */
err = team_set_port_enabled(ctx->th, tdport->ifindex, false);
if (err) {
teamd_log_err("%s: Failed to disable port.", tdport->ifname);
diff --git a/teamd/teamd_runner_lacp.c b/teamd/teamd_runner_lacp.c
index 14f9473..1d35b52 100644
--- a/teamd/teamd_runner_lacp.c
+++ b/teamd/teamd_runner_lacp.c
@@ -1221,7 +1221,7 @@ static int lacp_port_added(struct teamd_context *ctx,
goto periodic_callback_del;
}
- /* Newly added ports are enabled */
+ /* Newly added ports are disabled */
err = team_set_port_enabled(ctx->th, tdport->ifindex, false);
if (err) {
teamd_log_err("%s: Failed to disable port.", tdport->ifname);
--
1.8.5.3
Show replies by thread