info: do not block when receiving the request
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 3 Jan 2017 10:15:25 +0000 (11:15 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 4 Jan 2017 08:47:11 +0000 (09:47 +0100)
commit2c6869d843acdeeec3d2912612e8905f421d734f
treee61f057f5483a89b89201975ba59877b15713d7f
parent93c47c5b2058eca8cb73dc016a9b4ecd4023a1d8
info: do not block when receiving the request

Otherwise the whole of olsrd is blocked, since it's single-threaded.

Note: this will effectively disallow user-operated telnet connection, since
      the code will not wait for input and expects the request to be there
      once it tries to receive data.
      A normal telnet connection did not work before (v0.6.8.1 was checked)
      so no surprises here.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/info/olsrd_info.c