Wireshark-commits: [Wireshark-commits] master 93361b9: text2pcap: assure an IP next layer protocol
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=93361b9977522070bd41e830965043734f5bb539
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
93361b9 by Jaap Keuter (jaap.keuter@xxxxxxxxx):
text2pcap: assure an IP next layer protocol is set
Using -4 or -6 to set an IP address pair to use in the dummy IP
header it is possible to generate a capture in which the next
layer protocol is undefined. Add a check that an next layer
protocol is always set.
Bug: 15275
Change-Id: Ifef54be7f708a0f168d2067f6f691e2611f25428
Signed-off-by: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Reviewed-on: https://code.wireshark.org/review/30683
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 7370a6f Clean up previous change.
add 93361b9 text2pcap: assure an IP next layer protocol is set
Summary of changes:
text2pcap.c | 6 ++++++
1 file changed, 6 insertions(+)