[PATCH] Add missing argument in rtnl_link_change example

Miguel Di Ciurcio Filho miguel.filho at gmail.com
Wed Feb 23 09:13:12 EST 2011


Signed-off-by: Miguel Di Ciurcio Filho <miguel.filho at gmail.com>
---
 lib/route/link.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/route/link.c b/lib/route/link.c
index c583917..b062e29 100644
--- a/lib/route/link.c
+++ b/lib/route/link.c
@@ -112,7 +112,7 @@
  * // Two ways exist to commit this change request, the first one is to
  * // build the required netlink message and send it out in one single
  * // step:
- * rtnl_link_change(sk, old, request);
+ * rtnl_link_change(sk, old, request, 0);
  *
  * // An alternative way is to build the netlink message and send it
  * // out yourself using nl_send_auto_complete()
-- 
1.7.2.3




More information about the libnl mailing list