nativenet clean up

Make nativenet tap payload type consistent with radio_packet_t
Also remove a trailing space
This commit is contained in:
Ludwig Ortmann 2014-01-08 14:57:11 +01:00
parent b7c209e39f
commit ac0ec1f6b3
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ struct nativenet_header {
struct nativenet_packet { struct nativenet_packet {
struct nativenet_header nn_header; struct nativenet_header nn_header;
unsigned char data[ETHERMTU - sizeof(struct nativenet_header)]; uint8_t data[ETHERMTU - sizeof(struct nativenet_header)];
} __attribute__((packed)); } __attribute__((packed));
union eth_frame { union eth_frame {

View File

@ -160,7 +160,7 @@ void do_cb(int event)
} }
void _nativenet_handle_packet(radio_packet_t *packet) void _nativenet_handle_packet(radio_packet_t *packet)
{ {
radio_address_t dst_addr = packet->dst; radio_address_t dst_addr = packet->dst;
/* address filter / monitor mode */ /* address filter / monitor mode */