[Olsr-users] olsrd2: telnet plugin requires linebreak

Henning Rogge (spam-protected)
Sun Mar 6 17:07:38 CET 2016


On Sat, Mar 5, 2016 at 4:43 PM, Lars Kruse <(spam-protected)> wrote:
> Hi,
>
> I noticed that the telnet plugin of OLSRDv2 (v0.9.2) does not process the last
> line of input if it is not followed by a linebreak.
>
> Thus the following unexpectedly delivers no output:
>
>  echo -n "/nhdpinfo link" | nc localhost 2009
>
> But the following works as expected:
>
>  echo "/nhdpinfo link" | nc localhost 2009
>
> I would expect that commands can be either finalized with a linebreak or
> end-of-file. This would also be in line with the behaviour of the txtinfo
> plugin of OLSRDv1.

I have to look into this tomorrow... should be easy to change.

> btw: is the mailing list the proper channel for reporting bugs/wishlists?
> The current bug tracker (http://www.olsr.org/bugs/) does not seem to offer a
> category for OLSRDv2. (just "core", "plugin", ...)

Yes... the bugtracker were never really useful because not enough
people participated in the project (within the livetime of the
tracker).

Henning



More information about the Olsr-users mailing list