Skip to content

Commit

Permalink
[teamd]: Remove extensive debug output for libteamdctl (#5870)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-shirshov authored Nov 11, 2020
1 parent cdc6879 commit 83d090f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/libteam/patch/0011-Remove-extensive-debug-output.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 19928173ce022f499c59b719179e7ad9a4bafb7f Mon Sep 17 00:00:00 2001
From: Pavel Shirshov <[email protected]>
Date: Mon, 9 Nov 2020 13:21:55 -0800
Subject: [PATCH] Remove extensive debug output

---
libteamdctl/cli_usock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libteamdctl/cli_usock.c b/libteamdctl/cli_usock.c
index 0dc97ae..d3fbdba 100644
--- a/libteamdctl/cli_usock.c
+++ b/libteamdctl/cli_usock.c
@@ -163,7 +163,7 @@ static int cli_usock_method_call(struct teamdctl *tdc, const char *method_name,
char *replystr;
int err;

- dbg(tdc, "usock: Calling method \"%s\"", method_name);
+ /* dbg(tdc, "usock: Calling method \"%s\"", method_name); */
err= myasprintf(&msg, "%s\n%s\n", TEAMD_USOCK_REQUEST_PREFIX,
method_name);
if (err)
--
2.29.2.windows.2

1 change: 1 addition & 0 deletions src/libteam/patch/series
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
0008-libteam-Add-warm_reboot-mode.patch
0009-Fix-ifinfo_link_with_port-race-condition-with-newlink.patch
0010-When-read-of-timerfd-returned-0-don-t-consider-this-.patch
0011-Remove-extensive-debug-output.patch

0 comments on commit 83d090f

Please sign in to comment.