Merge pull request #243 from LudwigOrtmann/initialize_nativenet_packet
initialize processing field in nativenet tap
This commit is contained in:
commit
5691ccbbc1
@ -79,6 +79,7 @@ void _native_handle_tap_input(void)
|
||||
p.src = ntohs(frame.field.payload.nn_header.src);
|
||||
p.rssi = 0;
|
||||
p.lqi = 0;
|
||||
p.processing = 0;
|
||||
p.data = frame.field.payload.data;
|
||||
DEBUG("_native_handle_tap_input: received packet of length %"PRIu16" for %"PRIu16" from %"PRIu16"\n", p.length, p.dst, p.src);
|
||||
_nativenet_handle_packet(&p);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user