pinfo->pseudo_header can and should be assumed to be non-null by a
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 10 Jan 2008 09:40:15 +0000 (09:40 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 10 Jan 2008 09:40:15 +0000 (09:40 +0000)
commitdc8ad0c5dffef366c152aa89d010850b1387daf4
treeb260d51a3b1e06539268bbc6ed16cc3af12a7db0
parent8f99cf746770151d251f081790fc7611eca3c084
pinfo->pseudo_header can and should be assumed to be non-null by a
dissector.  This fixes Coverity CID 238 (as we *were* assuming it was
non-null in one statement, and then only checking it later).

Set pinfo->p2p_dir to one of P2P_DIR_RECV or P2P_DIR_SENT, as it's
supposed to be, not to a Boolean value, and explain the basis on which
it's being set.

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