summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2013-02-14 11:48:00 (GMT)
committerThomas Graf <tgraf@suug.ch>2013-02-14 11:48:00 (GMT)
commit1ecf98a23e4ba309eb1f94b824d5f973d3fee0d2 (patch)
treeb74b1115024866c5b27d8b986229fc70041ca0b8 /doc
parentee4122a12edcf7f10f03fbb7e35fe1388a8c3399 (diff)
downloadlibnl-1ecf98a23e4ba309eb1f94b824d5f973d3fee0d2.zip
libnl-1ecf98a23e4ba309eb1f94b824d5f973d3fee0d2.tar.gz
libnl-1ecf98a23e4ba309eb1f94b824d5f973d3fee0d2.tar.bz2
bond: Provide rtnl_link_bond_alloc()
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'doc')
-rw-r--r--doc/route.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/route.txt b/doc/route.txt
index cd24eef..c8f1735 100644
--- a/doc/route.txt
+++ b/doc/route.txt
@@ -645,9 +645,8 @@ This attribute is unused and obsoleted in all recent kernels.
struct rtnl_link *link;
-link = rtnl_link_alloc();
+link = rtnl_link_bond_alloc();
rtnl_link_set_name(link, "my_bond");
-rtnl_link_set_type(link, "bond");
/* requires admin privileges */
if (rtnl_link_add(sk, link, NLM_F_CREATE) < 0)