diff options
author | Jiri Pirko <jiri@resnulli.us> | 2014-05-12 15:15:17 +0200 |
---|---|---|
committer | Jiri Pirko <jiri@resnulli.us> | 2014-05-12 15:52:20 +0200 |
commit | 0dc5ec792d35625094d8f0dc32d58fbdbc2c24d7 (patch) | |
tree | 0a8094c8b537ec151f8dcb11a064b1177a97f365 | |
parent | cb26d75f3837edf65b93d75b7e70f6538be05b53 (diff) | |
download | libteam-0dc5ec792d35625094d8f0dc32d58fbdbc2c24d7.tar.gz |
teamd: register debug callback at the start of callbacks list
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
-rw-r--r-- | teamd/teamd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/teamd/teamd.c b/teamd/teamd.c index b7daa51..a45a7fc 100644 --- a/teamd/teamd.c +++ b/teamd/teamd.c @@ -1153,8 +1153,8 @@ static int teamd_register_default_handlers(struct teamd_context *ctx) { if (!ctx->debug) return 0; - return team_change_handler_register(ctx->th, - &debug_change_handler, ctx); + return team_change_handler_register_head(ctx->th, + &debug_change_handler, ctx); } static void teamd_unregister_default_handlers(struct teamd_context *ctx) |