net: fix inner L2 length in packet type parser