--- src/rtnl.c | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/rtnl.c b/src/rtnl.c index 39afb12..29cc8d5 100644 --- a/src/rtnl.c +++ b/src/rtnl.c @@ -46,8 +46,7 @@ #define ARPHDR_PHONET_PIPE (821) #endif -#define print(arg...) do { if (0) connman_info(arg); } while (0) -//#define print(arg...) connman_info(arg) +#define print(arg...) do { if (0) connman_debug(arg); } while (0) struct watch_data { unsigned int id; @@ -443,11 +442,11 @@ static void process_newlink(unsigned short type, int index, unsigned flags, } if (memcmp(&address, &compare, ETH_ALEN) != 0) - connman_info("%s {newlink} index %d address %s mtu %u", + DBG("%s {newlink} index %d address %s mtu %u", ifname, index, str, mtu); if (operstate != 0xff) - connman_info("%s {newlink} index %d operstate %u <%s>", + DBG("%s {newlink} index %d operstate %u <%s>", ifname, index, operstate, operstate2str(operstate)); @@ -498,7 +497,7 @@ static void process_dellink(unsigned short type, int index, unsigned flags, extract_link(msg, bytes, NULL, &ifname, NULL, &operstate, &stats); if (operstate != 0xff) - connman_info("%s {dellink} index %d operstate %u <%s>", + DBG("%s {dellink} index %d operstate %u <%s>", ifname, index, operstate, operstate2str(operstate)); -- 1.7.2.2 _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman