Signed-off-by: Sven Eckelmann sven.eckelmann@gmx.de --- batman-adv/originator.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/batman-adv/originator.c b/batman-adv/originator.c index afac4eb..15bf037 100644 --- a/batman-adv/originator.c +++ b/batman-adv/originator.c @@ -177,7 +177,7 @@ struct orig_node *get_orig_node(struct bat_priv *bat_priv, uint8_t *addr) goto free_bcast_own_sum;
if (bat_priv->orig_hash->elements * 4 > bat_priv->orig_hash->size) { - swaphash = hash_resize(bat_priv->orig_hash,choose_orig, + swaphash = hash_resize(bat_priv->orig_hash, choose_orig, bat_priv->orig_hash->size * 2);
if (!swaphash)
On Saturday 23 October 2010 15:46:02 Sven Eckelmann wrote:
swaphash = hash_resize(bat_priv->orig_hash,choose_orig,
swaphash = hash_resize(bat_priv->orig_hash, choose_orig,
Applied in revision 1847.
Thanks, Marek
b.a.t.m.a.n@lists.open-mesh.org