diff options
author | Joseph Henry <joseph.henry@zerotier.com> | 2015-09-22 13:35:37 -0400 |
---|---|---|
committer | Joseph Henry <joseph.henry@zerotier.com> | 2015-09-22 13:35:37 -0400 |
commit | c3dbae8d5eea9c2f3e21b07eb34e9d0ac73edb66 (patch) | |
tree | 32275344631c5c3c73d6148c4b981b3201bb170b | |
parent | b2494b53e6b77fd5a4e8e8ef8024b06448e02a17 (diff) | |
download | infinitytier-c3dbae8d5eea9c2f3e21b07eb34e9d0ac73edb66.tar.gz infinitytier-c3dbae8d5eea9c2f3e21b07eb34e9d0ac73edb66.zip |
more debugs
-rw-r--r-- | netcon/NetconEthernetTap.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netcon/NetconEthernetTap.hpp b/netcon/NetconEthernetTap.hpp index d211b425..81164c2b 100644 --- a/netcon/NetconEthernetTap.hpp +++ b/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); 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); return ERR_OK; } |