git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'mainstream'
[sliver-openvswitch.git]
/
lib
/
rtnetlink-link.c
diff --git
a/lib/rtnetlink-link.c
b/lib/rtnetlink-link.c
index
308338f
..
1c12562
100644
(file)
--- a/
lib/rtnetlink-link.c
+++ b/
lib/rtnetlink-link.c
@@
-58,7
+58,7
@@
rtnetlink_link_parse(struct ofpbuf *buf,
const struct nlmsghdr *nlmsg;
const struct ifinfomsg *ifinfo;
- nlmsg =
buf->data
;
+ nlmsg =
ofpbuf_data(buf)
;
ifinfo = ofpbuf_at(buf, NLMSG_HDRLEN, sizeof *ifinfo);
change->nlmsg_type = nlmsg->nlmsg_type;