Commit 57ed524b authored by Grzegorz Daniluk's avatar Grzegorz Daniluk Committed by Alessandro Rubini

spec: pp_state_machine() needs packet pointer without header or is it just a dirty hack that works

parent 94b8e767
......@@ -50,6 +50,6 @@ void spec_main_loop(struct pp_instance *ppi)
if (((struct spec_ethhdr *)packet)->h_proto !=
htons(PP_ETHERTYPE))
continue;
delay_ms = pp_state_machine(ppi, packet, i);
delay_ms = pp_state_machine(ppi, packet+sizeof(struct spec_ethhdr), i);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment