From: Florian Forster
Unfortunately OLSR uses the same IDs for IPv4 and IPv6 packets, even
though the size of "messages" differ. The version of the internet protocol
is therefore handed to the "olsr_print" function.
The code isn't very nice, due to a high density of
From: Florian Forster
The function does the same as `mask2plen' but for IPv6.
Signed-off-by: Florian Forster
---
interface.h |1 +
util.c | 29 +
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/interface.h b/interface.h
index 68
From: Florian Forster
Especially not to do pointer arithmetic.
This is a real problem even without malicious people around if you use
OLSR via IPv6, because the message IDs didn't change but addresses are
now longer than four bytes.
Signed-off-by: Florian Forster
---
print-olsr.c |