[Ns-developers] Pcap problem

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Wed Apr 2 10:45:26 PDT 2008


On Wed, 2008-04-02 at 15:50 +0100, Nuno Farias wrote:
> Hi,
> 
> I am using the main-ap-wifi.cc example modified to use the internet node 
> class. I am also using PcapWriter class with pcap.WriteWifiHeader() to 
> create wifi packets. The problem is that the pcap file created has only 
> malformed packets (as you can see in the pcap file I send attached). 
> What could be the problem?

This bug (in fact, a set of bugs) was fixed in ns-3-dev if you use
WifiHelper::EnablePcap so, you should be able to see nice pcap output
which wireshark can read :)

regards,
Mathieu



More information about the Ns-developers mailing list