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
AUTHORS: Add Lior Neudorfer <lior@guardicore.com>.
[sliver-openvswitch.git]
/
lib
/
route-table.c
diff --git
a/lib/route-table.c
b/lib/route-table.c
index
fdc21e8
..
8f5b733
100644
(file)
--- a/
lib/route-table.c
+++ b/
lib/route-table.c
@@
-272,7
+272,7
@@
route_table_parse(struct ofpbuf *buf, struct route_table_msg *change)
const struct rtmsg *rtm;
const struct nlmsghdr *nlmsg;
- nlmsg =
buf->data
;
+ nlmsg =
ofpbuf_data(buf)
;
rtm = ofpbuf_at(buf, NLMSG_HDRLEN, sizeof *rtm);
if (rtm->rtm_family != AF_INET) {