Commit c2fbefab authored by Brickner_cp's avatar Brickner_cp

Fix SendingASinglePacketWithSendPacket example comments.

parent 0155b99b
...@@ -52,10 +52,10 @@ namespace SendingASinglePacketWithSendPacket ...@@ -52,10 +52,10 @@ namespace SendingASinglePacketWithSendPacket
PacketDeviceOpenAttributes.Promiscuous, // promiscuous mode PacketDeviceOpenAttributes.Promiscuous, // promiscuous mode
1000)) // read timeout 1000)) // read timeout
{ {
// Supposing to be on ethernet, set mac destination to 1:1:1:1:1:1 // Supposing to be on ethernet, set mac source to 1:1:1:1:1:1
MacAddress source = new MacAddress("1:1:1:1:1:1"); MacAddress source = new MacAddress("1:1:1:1:1:1");
// set mac source to 2:2:2:2:2:2 // set mac destination to 2:2:2:2:2:2
MacAddress destination = new MacAddress("2:2:2:2:2:2"); MacAddress destination = new MacAddress("2:2:2:2:2:2");
// Create the packets layers // Create the packets layers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment