It was just a test utility which we used when I was experimenting with netlink layer. Applied anyway.
Thank you. On Tue, Jul 20, 2010 at 5:07 PM, Stefan Schmidt <[email protected]> wrote: > CMD 0 is meant as invalid command and does not come back to us. With > LIST_IFACE > we get a respond, jump into the callback and eventually show the right > address. > > Signed-off-by: Stefan Schmidt <[email protected]> > --- > tests/gnl.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/tests/gnl.c b/tests/gnl.c > index 2494508..9970f86 100644 > --- a/tests/gnl.c > +++ b/tests/gnl.c > @@ -73,7 +73,7 @@ int main(void) { > > struct nl_msg *msg = nlmsg_alloc(); > nl_perror("nlmsg_alloc"); > - genlmsg_put(msg, NL_AUTO_PID, NL_AUTO_SEQ, family, 0, NLM_F_ECHO, /* > cmd */ 0, /* vers */ 1); > + genlmsg_put(msg, NL_AUTO_PID, NL_AUTO_SEQ, family, 0, NLM_F_ECHO, /* > cmd */ IEEE802154_LIST_IFACE, /* vers */ 1); > nla_put_string(msg, IEEE802154_ATTR_DEV_NAME, "wpan0"); > > nl_send_auto_complete(nl, msg); > -- > 1.7.1 > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Linux-zigbee-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel > -- With best wishes Dmitry ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Linux-zigbee-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
