diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2009-06-25 15:04:33 +0300 |
---|---|---|
committer | Aki Niemi <aki.niemi@nokia.com> | 2009-06-29 21:03:09 +0300 |
commit | 6a2dd31a898ef4cc9cea4a8f05d2dfa35c622184 (patch) | |
tree | ea6c0471f63d5fc65e899849d4aafcd8d0e41726 | |
parent | 91753078b00692c2a296125fa352be0c92f61dbe (diff) | |
download | ofono-6a2dd31a898ef4cc9cea4a8f05d2dfa35c622184.tar.bz2 |
gisi: fix extracting Phonet address from Netlink
-rw-r--r-- | gisi/netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gisi/netlink.c b/gisi/netlink.c index 25341e47..d5555883 100644 --- a/gisi/netlink.c +++ b/gisi/netlink.c @@ -102,7 +102,7 @@ static gboolean g_pn_nl_process(GIOChannel *channel, GIOCondition cond, } /* We have a route message */ ifa = NLMSG_DATA(nlh); - len = RTM_PAYLOAD(nlh); + len = IFA_PAYLOAD(nlh); /* If Phonet is absent, kernel transmits other families... */ if (ifa->ifa_family != AF_PHONET) |