Repositories
/
olsrd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e25781d
)
From Jo-Philipp Wich <freifunk@wwsnet.net: bugfix: avoid infinite loop in the message...
author
Hannes Gredler
<hannes@gredler.at>
Mon, 28 Jan 2008 21:52:38 +0000
(22:52 +0100)
committer
Hannes Gredler
<hannes@gredler.at>
Mon, 28 Jan 2008 21:52:38 +0000
(22:52 +0100)
src/parser.c
patch
|
blob
|
history
diff --git
a/src/parser.c
b/src/parser.c
index
d123b87
..
0e74464
100644
(file)
--- a/
src/parser.c
+++ b/
src/parser.c
@@
-361,6
+361,8
@@
parse_packet(struct olsr *olsr, int size, struct interface *in_if, union olsr_ip
from_addr);
}
+ /* Cancel loop here, otherwise olsrd just hangs forever at this point */
+ break;
}
} /* for olsr_msg */