bpf_skb_utils.h: add missing include to fix build against newer kernel headers
[project/unetd.git] / pex-stun.c
index 444612bbeec1ac9a728593295424e156c4c6f844..0be3160326fcbe77a791d20a6bb488f922714b09 100644 (file)
@@ -22,7 +22,7 @@ static bool has_connected_peer(struct network *net, bool pex)
                if (pex && !peer->pex_port)
                        continue;
 
-               if (peer->state.connected)
+               if (peer->state.connected || peer->indirect)
                        return true;
        }