]> git.proxmox.com Git - mirror_iproute2.git/commit
tipc: refactor bearer identification
authorRichard Alpe <richard.alpe@ericsson.com>
Mon, 15 Aug 2016 08:24:32 +0000 (10:24 +0200)
committerStephen Hemminger <sthemmin@microsoft.com>
Wed, 17 Aug 2016 20:52:07 +0000 (13:52 -0700)
commit50afc4dbf8724a43f90265d7ee12dc62565f2936
tree7acf5afac7305d804d7db1c0747c1c16bf0146bd
parentff77557957f75323409848cb2634e80d61edac3c
tipc: refactor bearer identification

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 <richard.alpe@ericsson.com>
tipc/bearer.c
tipc/cmdl.h