[tipc-discussion] [PATCH iproute2 2/2] tipc: refactor bearer identification

2016-08-09 Thread Richard Alpe
Introduce a generic function (nl_add_bearer_name()) that identifies a bearer and adds it to an existing netlink message. This reduces code complexity and makes the code a little bit easier to maintain. Signed-off-by: Richard Alpe --- tipc/bearer.c | 312 --

[tipc-discussion] [PATCH iproute2 1/2] tipc: fix UDP bearer synopsis

2016-08-09 Thread Richard Alpe
Local ip is not required to identify a UDP bearer and shouldn't be passed to bearer disable, set or get. In this patch we remove the localip entry from the synopsis of these functions. Signed-off-by: Richard Alpe --- man/man8/tipc-bearer.8 | 14 -- 1 file changed, 4 insertions(+), 10