Browse Source

more debugs

Joseph Henry 10 years ago
parent
commit
c3dbae8d5e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netcon/NetconEthernetTap.hpp

+ 1 - 1
netcon/NetconEthernetTap.hpp

@@ -222,7 +222,7 @@ static err_t low_level_output(struct netif *netif, struct pbuf *p)
   dest_mac.setTo(ethhdr->dest.addr, 6);
   dest_mac.setTo(ethhdr->dest.addr, 6);
 
 
   tap->_handler(tap->_arg,tap->_nwid,src_mac,dest_mac,
   tap->_handler(tap->_arg,tap->_nwid,src_mac,dest_mac,
-    Utils::ntoh((uint16_t)ethhdr->type),0,buf + sizeof(struct eth_hdr),p->tot_len - sizeof(struct ethhdr));
+    Utils::ntoh((uint16_t)ethhdr->type),0,buf + sizeof(struct eth_hdr),p->tot_len - sizeof(struct eth_hdr));
 	printf("low_level_output(): length = %d\n", p->tot_len);
 	printf("low_level_output(): length = %d\n", p->tot_len);
   return ERR_OK;
   return ERR_OK;
 }
 }