]> git.ipfire.org Git - thirdparty/libnl.git/commitdiff
rename NL_AUTO_PID to NL_AUTO_PORT
authorThomas Graf <tgraf@suug.ch>
Tue, 23 Nov 2010 12:31:39 +0000 (13:31 +0100)
committerThomas Graf <tgraf@suug.ch>
Tue, 23 Nov 2010 12:31:39 +0000 (13:31 +0100)
Old name is kept for compatibility.

include/netlink/msg.h

index ef805a4922103ed5e65d66a90cbe3407a4ba2bff..f3d50ae238d087f9d9ea3bd78ef1d1c1f6e10e5d 100644 (file)
@@ -25,18 +25,21 @@ extern "C" {
 /**
  * @ingroup msg
  * @brief
- * Will cause the netlink pid to be set to the pid assigned to
- * the netlink handle (socket) just before sending the message off.
- * @note Requires the use of nl_send_auto_complete()!
+ * Will cause the netlink port to be set to the port assigned to
+ * the netlink icoket ust before sending the message off.
+ *
+ * @note Requires the use of nl_send_auto()!
  */
-#define NL_AUTO_PID    0
+#define NL_AUTO_PORT   0
+#define NL_AUTO_PID    NL_AUTO_PORT
 
 /**
  * @ingroup msg
  * @brief
  * May be used to refer to a sequence number which should be
  * automatically set just before sending the message off.
- * @note Requires the use of nl_send_auto_complete()!
+ *
+ * @note Requires the use of nl_send_auto()!
  */
 #define NL_AUTO_SEQ    0