b[8], b[9], b[10], b[11],
b[12], b[13], b[14], b[15] );
} else {
- VERBOSE3OUT( "HEX data of %d bytes\n", i );
+ VERBOSE3OUT( "HEX data of %d bytes\n", w );
for ( ; i < w && i < 19000; i++, p += 3 ) {
sprintf( p, "%02x:", b[i] );
}
r = add_remote( src, a );
//r->rec_when = now; // Set activity stamp of new remote
}
- if ( len <= 12 ) {
+ if ( len < 12 ) {
// Ignore short data, but maintain channel
r->rec_when = now; // Update activity stamp touched remote
+ if ( len > 0 ) {
+ VERBOSEOUT( "Ignoring %ld bytes from %s\n",
+ len, inet_stoa( src ) );
+ }
return 0;
}
// Now decrypt the data as needed