[Olsr-dev] [PATCH] changed return value of olsr_insert_routing_table to void

Christos Kallinteris (spam-protected)
Wed Mar 31 18:46:00 CEST 2010


Hello everybody!

git email didn't come through to the list so I'm attaching the patch
to this mail.

Commit message:

In files  routing_table.c and routing_table.h

changed:

struct rt_path *
olsr_insert_routing_table(const union olsr_ip_addr *dst, int plen, const
union olsr_ip_addr *originator, int origin)

to

void
olsr_insert_routing_table(etc.)
and removed return values where needed.

Nothing seems to check the returned value according to cscope. I ran
the patched version for about 15 min on the UMIC virtual testbed here
at RWTH-Aachen. Nothing seems broken. Did I miss something? Is this
needed somewhere?

Cheers!

Christos

P.S. Sorry if this posts twice; listserv doesn't seem to like me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-In-files-routing_table.c-and-routing_table.h.patch
Type: text/x-patch
Size: 2817 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100331/898962e5/attachment.bin>


More information about the Olsr-dev mailing list