pex: remove pex event debug spam
authorFelix Fietkau <nbd@nbd.name>
Fri, 16 Sep 2022 12:55:33 +0000 (14:55 +0200)
committerFelix 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

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);