projects
/
project
/
unetd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cbb1a5
)
pex: remove pex event debug spam
author
Felix Fietkau
<nbd@nbd.name>
Fri, 16 Sep 2022 12:55:33 +0000
(14:55 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Fri, 16 Sep 2022 12:57:25 +0000
(14:57 +0200)
Makes debugging output more readable
Signed-off-by: Felix Fietkau <nbd@nbd.name>
pex.c
patch
|
blob
|
history
diff --git
a/pex.c
b/pex.c
index 78820844632c7799eae21e75acc9ed4c6d588aad..d598339fe15ff88e28938f615c934e863541dc74 100644
(file)
--- a/
pex.c
+++ b/
pex.c
@@
-380,11
+380,6
@@
void network_pex_event(struct network *net, struct network_peer *peer,
if (!network_pex_active(&net->pex))
return;
- if (peer)
- D_PEER(net, peer, "PEX event type=%d", ev);
- else
- D_NET(net, "PEX event type=%d", ev);
-
switch (ev) {
case PEX_EV_HANDSHAKE:
pex_send_hello(net, peer);