From 0c87e03dff7fc61b9d066beb42511846354ad35b Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Thu, 5 Mar 2015 07:30:12 -0800 Subject: [PATCH] netdev-windows: Fix broken compilation. Commit 6fd6ed71cb9f(ofpbuf: Simplify ofpbuf API.) removed ofpbuf_size and ofpbuf_data. They still had reference from netdev-windows. Fix them. Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff --- lib/netdev-windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/netdev-windows.c b/lib/netdev-windows.c index c67aaebcd..1fc1da710 100644 --- a/lib/netdev-windows.c +++ b/lib/netdev-windows.c @@ -232,7 +232,7 @@ netdev_windows_netdev_from_ofpbuf(struct netdev_windows_netdev_info *info, netdev_windows_info_init(info); - ofpbuf_use_const(&b, ofpbuf_data(buf), ofpbuf_size(buf)); + ofpbuf_use_const(&b, buf->data, buf->size); nlmsg = ofpbuf_try_pull(&b, sizeof *nlmsg); genl = ofpbuf_try_pull(&b, sizeof *genl); ovs_header = ofpbuf_try_pull(&b, sizeof *ovs_header); -- 2.20.1