projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
de88db7
)
dv plugin
author
Matthias Wachs
<wachs@net.in.tum.de>
Tue, 19 Mar 2013 09:33:06 +0000
(09:33 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Tue, 19 Mar 2013 09:33:06 +0000
(09:33 +0000)
src/dv/plugin_transport_dv.c
patch
|
blob
|
history
diff --git
a/src/dv/plugin_transport_dv.c
b/src/dv/plugin_transport_dv.c
index 19c577f13fa089c86e1232faa7c0e8ab1b30e22f..e0629a3e519302b3d5c287e7b2dab0cefd563535 100644
(file)
--- a/
src/dv/plugin_transport_dv.c
+++ b/
src/dv/plugin_transport_dv.c
@@
-199,8
+199,9
@@
unbox_cb (void *cls,
plugin->env->receive (plugin->env->cls,
&session->sender,
message,
plugin->env->receive (plugin->env->cls,
&session->sender,
message,
- &ats, 1,
session, "", 0);
session, "", 0);
+ plugin->env->update_address_metrics (plugin->env->cls,
+ &session->sender, "", 0, session, &ats, 1);
return GNUNET_OK;
}
return GNUNET_OK;
}
@@
-246,8
+247,9
@@
handle_dv_message_received (void *cls,
session->active = GNUNET_YES;
plugin->env->receive (plugin->env->cls, sender,
msg,
session->active = GNUNET_YES;
plugin->env->receive (plugin->env->cls, sender,
msg,
- &ats, 1,
- session, "", 0);
+ session, "", 0);
+ plugin->env->update_address_metrics (plugin->env->cls,
+ sender, "", 0, session, &ats, 1);
}
}