I think this needs a comment to make it clear why this is looking at the rdata.  Specifically that the tdata may have had the top route header removed, so we must look at the message as received.