X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Froute-table.c;h=8f5b733ceee881dff5c6f8ed1bea9c51caf87999;hb=1f317cb5;hp=fdc21e8cd18e31f0fc37a794e755449455df00fb;hpb=6e2f6e708fb9bdb5443f8854016ea4f6fa73b355;p=sliver-openvswitch.git diff --git a/lib/route-table.c b/lib/route-table.c index fdc21e8cd..8f5b733ce 100644 --- 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) {