From 35e19c1667455bc0b58a11f85cddc0bfecb3512e Mon Sep 17 00:00:00 2001 From: "PSp..om" Date: Wed, 23 Mar 2011 07:34:56 +0000 Subject: [PATCH] Applied the null filter fix to the UDP kernel that has already been applied to the TCP kernel. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7081 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/networking/com/jme3/network/kernel/udp/UdpKernel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/networking/com/jme3/network/kernel/udp/UdpKernel.java b/engine/src/networking/com/jme3/network/kernel/udp/UdpKernel.java index 2f66cb65a..07ea4019c 100644 --- a/engine/src/networking/com/jme3/network/kernel/udp/UdpKernel.java +++ b/engine/src/networking/com/jme3/network/kernel/udp/UdpKernel.java @@ -122,7 +122,7 @@ public class UdpKernel extends AbstractKernel // Hand it to all of the endpoints that match our routing for( UdpEndpoint p : socketEndpoints.values() ) { // Does it match the filter? - if( !filter.apply(p) ) + if( filter != null && !filter.apply(p) ) continue; // Send the data