Change libnl++ namespace to android::nl
Bug: 162032964
Test: it builds
Change-Id: I3790f49c41319794e61ed422705c5e18e55e8bfc
diff --git a/automotive/can/1.0/default/libnetdevice/can.cpp b/automotive/can/1.0/default/libnetdevice/can.cpp
index fef9e00..0aa5afe 100644
--- a/automotive/can/1.0/default/libnetdevice/can.cpp
+++ b/automotive/can/1.0/default/libnetdevice/can.cpp
@@ -69,7 +69,7 @@
struct can_bittiming bt = {};
bt.bitrate = bitrate;
- NetlinkRequest<struct ifinfomsg> req(RTM_NEWLINK, NLM_F_REQUEST);
+ nl::NetlinkRequest<struct ifinfomsg> req(RTM_NEWLINK, NLM_F_REQUEST);
const auto ifidx = nametoindex(ifname);
if (ifidx == 0) {
@@ -89,7 +89,7 @@
}
}
- NetlinkSocket sock(NETLINK_ROUTE);
+ nl::NetlinkSocket sock(NETLINK_ROUTE);
return sock.send(req) && sock.receiveAck();
}