Thread (1 message) 1 message, 1 author, 2010-01-18

Re: rtnetlink(3) undeclared variable in example

From: Edward Welbourne <hidden>
Date: 2010-01-18 16:24:13

Possibly related (same subject, not in this thread)

I've applied the patch below,
I also note that the NLMSG_ALIGN line I initially pointed out is
significantly more indented than to match the open paren that
starts the argument list of which it's a part: <suggest>

     req.if.ifi_change = 0xffffffff; /* ???*/
     rta = (struct rtattr *)(((char *) &req) +
-                                  NLMSG_ALIGN(n\->nlmsg_len));
+                            NLMSG_ALIGN(req.nh.nlmsg_len));
     rta\->rta_type = IFLA_MTU;
     rta\->rta_len = sizeof(unsigned int);

</suggest> but it *is* just layout ...

	Eddy.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help