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
This commit is contained in:
PSp..om 2011-03-23 07:34:56 +00:00
parent 6895e1e709
commit 35e19c1667

View File

@ -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