lldpad/lldpad-0.9.41-lldpad-remove-print-statements-that-are-not-helpful.patch
2011-04-21 09:10:21 +02:00

33 lines
894 B
Diff

From ce407dd26ca8cf61be75364e900c5ebcef3dd2cb Mon Sep 17 00:00:00 2001
From: John Fastabend <john.r.fastabend@intel.com>
Date: Wed, 6 Apr 2011 08:47:48 -0700
Subject: [PATCH 40/51] lldpad: remove print statements that are not helpful
Remove start/stop print statements from lldpad core. These
are not paticularly helpful for debugging and certainly
do not warrant being set at _WARN level.
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Petr Sabata <psabata@redhat.com>
---
lldpad.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/lldpad.c b/lldpad.c
index 92de585..8a5df5b 100644
--- a/lldpad.c
+++ b/lldpad.c
@@ -410,9 +410,7 @@ int main(int argc, char *argv[])
exit(1);
}
- LLDPAD_WARN("%s is starting", argv[0]);
eloop_run();
- LLDPAD_WARN("%s is stopping", argv[0]);
clean_lldp_agent();
deinit_modules();
--
1.7.4.4