[pcap] Write incoming packages without the extra mISDN header

This patch fixes the PCAP logging. If frames are received from E1
interface, an 8 byte mISDN header (MISDN_HEADER_LEN) is in front of the
RSL packet. When frames are transmitted to the E1 interface, the
pcap_write_packet function will get a message buffer without the mISDN
header in front of the RSL packet. The pcap file was tested and the
output is correct.

Follow up patches should make use the msgb->l2, make the ipaccess
code use the pcap writing too...
1 file changed
tree: ea3519da348227056f43828d68e598b393541b03
  1. linux-kernel/
  2. openbsc/
  3. wireshark/