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
3.0
PSp..om 14 years ago
parent 6895e1e709
commit 35e19c1667
  1. 2
      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

Loading…
Cancel
Save