On Wednesday, April 17, 2013 00:40:01 Antonio Quartulli wrote:
On Tue, Apr 16, 2013 at 11:26:34PM +0800, Marek Lindner wrote:
Instead of generating TT specific packets the TVLV unicast API is used to send translation table data.
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
[...]
if (batadv_send_skb_to_orig(skb, dst_orig_node, NULL))
ret = 0;
batadv_tvlv_unicast_send(bat_priv, primary_if->net_dev->dev_addr,
dst_orig_node->orig, BATADV_TVLV_TT, 1,
(unsigned char *)tvlv_tt_data,
^^^^^^^^^^^^^^^^^
You should remove this cast since the function expects a void *
Thanks for the hint! I fixed the function calls and pushed the patches into my repository[1]. Feel free to pull from there.
Cheers, Marek
[1] http://git.open-mesh.org/batman-adv.git/shortlog/refs/heads/marek/tvlv