From Pascal Quantin:
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 30 Nov 2010 15:10:17 +0000 (15:10 +0000)
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 30 Nov 2010 15:10:17 +0000 (15:10 +0000)
commit76ec570042f8468fa323cfa08f0cdaba8f52f9e4
treea7fe9c8866ca82654024e335a7c41bf2a770613f
parent67f7bbbeb107f262d6f159c94a07eae7f36c589e
From Pascal Quantin:

I just found a small bug in LTE PDCP dissector with current top of tree.
If global preference global_pdcp_dissect_user_plane_as_ip is set to true, the dissector will try to decode an IP frame even with signalling plane.
PDCP-LTE
    ...0 0000 = Seq Num: 0
    Signalling Data: 0800183aa808
    MAC: 0x00000000 (0)
[Malformed Packet: IP]
    [Expert Info (Error/Malformed): Malformed Packet (Exception occurred)]

With the attached patch, I get the correct output for both signalling and user plane PDUs.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35076 f5534014-38df-0310-8fa8-9805f1628bb7
epan/dissectors/packet-pdcp-lte.c