projects
/
project
/
ustp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c62d85c
)
libnetlink: turn rtnetlink error answers into debug msgs
author
Felix Fietkau
<nbd@nbd.name>
Fri, 27 Aug 2021 10:36:44 +0000
(12:36 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 27 Aug 2021 10:36:45 +0000
(12:36 +0200)
They should not be logged by default
Signed-off-by: Felix Fietkau <nbd@nbd.name>
libnetlink.c
patch
|
blob
|
history
diff --git
a/libnetlink.c
b/libnetlink.c
index 5c5523da2613a80712b19a6e4321a06732c0f2fd..ece1e17d4cecf42a02308670bb4c0df1e50b3604 100644
(file)
--- a/
libnetlink.c
+++ b/
libnetlink.c
@@
-226,7
+226,7
@@
int rtnl_dump_filter(struct rtnl_handle *rth,
ERROR("ERROR truncated\n");
} else {
errno = -err->error;
-
INFO
("RTNETLINK answers");
+
LOG
("RTNETLINK answers");
}
return -1;
}
@@
-351,7
+351,7
@@
int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer,
h->nlmsg_len);
return 0;
}
-
ERROR
("RTNETLINK answers");
+
LOG
("RTNETLINK answers");
}
return -1;
}