I need to save all the sent ping packets in a .pcap format to work on it latter but when I try to save them there is no packet in the file and its empty. I would be thankful if someone could tell me which part I'm doing wrong.here is the code I'm using to capture ping packets.
**.crcMode = "computed"
**.fcsMode = "computed"
**.numPcapRecorders = 1
**.pcapRecorder[1].pcapLinkType = 105
**.pcapRecorder[1].pcapFile = "results/all2.pcap"
**.pcapRecorder[1].verbose = true
**.pcapRecorder[1].alwaysFlush = true
**.pcapRecorder[1].packetFilter = "ping* or Ping*"
Thanks in advance for your help.
Bests,