Commit 4f51c2bf authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Merge branch 'master' of gitlab.control.lth.se:anders_blomdell/extctrl2014

parents 3ce41605 c6d0fe27
......@@ -1270,6 +1270,7 @@ int hijacknet_extctrl2014_connect(char *interface,
}
init_extctrl2014__signatures();
state.received = 0;
state.driver = hijacknet_open(interface);
hijacknet_get_mac_address(state.driver, state.src);
......@@ -1306,6 +1307,7 @@ int hijacknet_extctrl2014_connect(char *interface,
hijacknet_del_receive_hook(state.driver, EXTCTRL2015_ETH_ID,
receive_hook, NULL);
hijacknet_close(state.driver);
printf("Received: %d\n", state.received);
#if 0
#endif
// state.decoder.decoder = labcomm2014_decoder_new(reader, &state);
......
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