main: process olsrd options in a block
authorFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 9 Nov 2015 20:21:43 +0000 (21:21 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 11 Nov 2015 16:09:27 +0000 (17:09 +0100)
commit1be3266edbf67adb81d0f166b8054be3e9cfd760
tree5657c4352516a23b9b4a4aa925b26519797e9924
parent3d2280c11a33d1ddc4f94113907fd738bb728977
main: process olsrd options in a block

To limit the scope of the default_ifcnf variable.

Also fixes a memory leak of an exit path.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/main.c