|
|
|
@ -266,8 +266,8 @@ static int tr2eth(struct bridge_state *bst) |
|
|
|
|
osmo_revbytebits_buf(ethh.h_dest, TR_ALEN); |
|
|
|
|
memcpy(ðh.h_source, trh->saddr, sizeof(ethh.h_source)); |
|
|
|
|
osmo_revbytebits_buf(ethh.h_source, TR_ALEN); |
|
|
|
|
/* We're doing 80 */ |
|
|
|
|
//ethh.h_proto = htons(
|
|
|
|
|
/* We're doing 802.3 and not Ethernet II */ |
|
|
|
|
ethh.h_proto = htons(trlen - sizeof(*trh)); |
|
|
|
|
|
|
|
|
|
mac2str_buf(eth_src, ethh.h_source); |
|
|
|
|
mac2str_buf(eth_dst, ethh.h_dest); |
|
|
|
|