Skip to content
Snippets Groups Projects
Alessandro Rubini's avatar
Alessandro Rubini authored
If you call lldpcli from a program, stdout will be fully buffered, and
we won't get back the result of "show neighbors" (nor anything else).
Expectedly, stderr messages are delivered immediately.

You can verify this by running "cat | lldpcli", give comamnds and
then exit with ctrl-D (EOF).

Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
9c68bdfb