Sorry, there was a typo in my last patch, the line+ if (hdr_type &0x7f>2) {shoud actually be:+ if ( (hdr_type&0x7f) > 2) { Gabriel.