Repositories
/
olsrd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
996d495
)
FIX for timing refactoring
author
Henning Rogge
<hrogge@googlemail.com>
Sat, 8 Aug 2009 15:11:12 +0000
(17:11 +0200)
committer
Henning Rogge
<hrogge@googlemail.com>
Sat, 8 Aug 2009 15:11:12 +0000
(17:11 +0200)
src/lq_packet.c
patch
|
blob
|
history
diff --git
a/src/lq_packet.c
b/src/lq_packet.c
index
fe7b9ff
..
05c6a2a
100644
(file)
--- a/
src/lq_packet.c
+++ b/
src/lq_packet.c
@@
-78,7
+78,7
@@
create_lq_hello(struct lq_hello_message *lq_hello, struct interface *outif)
// initialize the static fields
lq_hello->comm.type = olsr_get_Hello_MessageId();
// initialize the static fields
lq_hello->comm.type = olsr_get_Hello_MessageId();
- lq_hello->comm.vtime =
me_to_relti
me(outif->hello_valtime);
+ lq_hello->comm.vtime =
reltime_to_
me(outif->hello_valtime);
lq_hello->comm.size = 0;
lq_hello->comm.orig = olsr_cnf->router_id;
lq_hello->comm.size = 0;
lq_hello->comm.orig = olsr_cnf->router_id;
@@
-164,7
+164,7
@@
create_lq_tc(struct lq_tc_message *lq_tc, struct interface *outif)
// initialize the static fields
lq_tc->comm.type = olsr_get_TC_MessageId();
// initialize the static fields
lq_tc->comm.type = olsr_get_TC_MessageId();
- lq_tc->comm.vtime =
me_to_relti
me(olsr_cnf->tc_params.validity_time);
+ lq_tc->comm.vtime =
reltime_to_
me(olsr_cnf->tc_params.validity_time);
lq_tc->comm.size = 0;
lq_tc->comm.orig = olsr_cnf->router_id;
lq_tc->comm.size = 0;
lq_tc->comm.orig = olsr_cnf->router_id;