aboutsummaryrefslogtreecommitdiffstats
path: root/man7/netlink.7
diff options
context:
space:
mode:
Diffstat (limited to 'man7/netlink.7')
-rw-r--r--man7/netlink.78
1 files changed, 4 insertions, 4 deletions
diff --git a/man7/netlink.7 b/man7/netlink.7
index 62fb052d60..cdfc4f5747 100644
--- a/man7/netlink.7
+++ b/man7/netlink.7
@@ -403,16 +403,16 @@ in order to reliably track acknowledgements.
.nf
struct nlmsghdr *nh; /* The nlmsghdr with payload to send. */
struct sockaddr_nl sa;
-struct iovec iov = { (void *) nh, nh->nlmsg_len };
+struct iovec iov = { (void *) nh, nh\->nlmsg_len };
struct msghdr msg;
msg = { (void *)&sa, sizeof(sa), &iov, 1, NULL, 0, 0 };
memset(&sa, 0, sizeof(sa));
sa.nl_family = AF_NETLINK;
-nh->nlmsg_pid = 0;
-nh->nlmsg_seq = ++sequence_number;
+nh\->nlmsg_pid = 0;
+nh\->nlmsg_seq = ++sequence_number;
/* Request an ack from kernel by setting NLM_F_ACK. */
-nh->nlmsg_flags |= NLM_F_ACK;
+nh\->nlmsg_flags |= NLM_F_ACK;
sendmsg(fd, &msg, 0);
.fi