Firmware now inserts mac source address value in each frame.
[debian/gnuradio] / usrp2 / firmware / apps / gen_eth_packets.c
index 530f448eef80ca041fe3d5d382953ad9f146f7a7..5cda5bb8eca67f9d0f632c0c1a3b177316da8116 100644 (file)
@@ -104,8 +104,7 @@ init_packets(void)
   memset(&pkt, 0, sizeof(pkt));
 
   pkt.ehdr.dst = dst_mac_addr;
-  // src address filled in by mac
-
+  pkt.ehdr.src = *ethernet_mac_addr();
   pkt.ehdr.ethertype = U2_ETHERTYPE;
   pkt.fixed.word0 = 0x01234567;
   pkt.fixed.timestamp = 0xffffffff;