X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Froute-table.c;h=8f5b733ceee881dff5c6f8ed1bea9c51caf87999;hb=ec988646afe6aee6a63d6894a3e9b50f715d5941;hp=fdc21e8cd18e31f0fc37a794e755449455df00fb;hpb=d57695d77efe15b0b8a98aa2a1bcfcd3e3915e90;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) {