Make do with any version of libnl3

I have tested with libnl 3.2.3-2 and it works fine.

Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
tipc: initialize option list when creating cmd struct

The option list was initialized in the constructor function for the
command. Real-world testing suggests this might segfault on some systems
as the constructor functions are not called in the correct order within
the compilation unit.

Initialize the option list when creating the cmd struct instead. This
should allow for out-of-order creation.

Signed-off-by: Andreas Bofjall <andreas@gazonk.org>
Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
tipc: redesign socket list

To accommodate kernel space changes we no longer reassemble
publications for the same socket. We now ask for a list of sockets,
print all sockets without publications and then we ask for all
publications and print them along with there associated socket.

The difference for the user is that socket with publications are now
at the bottom of the output.