commit | a5c83a56233acad147efb9cf5292f2f0ce6ccccc | [log] [tgz] |
---|---|---|
author | Tomasz Wasilczyk <twasilczyk@google.com> | Tue Jun 16 15:58:19 2020 -0700 |
committer | Tomasz Wasilczyk <twasilczyk@google.com> | Wed Jun 17 13:15:41 2020 -0700 |
tree | e6270fd4cb88fc6a007526131678ea1432138701 | |
parent | a987273530efe853291d74a7d5fc9e203584d4d7 [diff] [blame] |
Implement ethtool get/set value operations Bug: 156784343 Test: manual Change-Id: I33b23bf9c6639cab6006c756d4ddbe561b9441ba
diff --git a/automotive/can/1.0/default/libnetdevice/common.cpp b/automotive/can/1.0/default/libnetdevice/common.cpp index f64d7d3..103cf53 100644 --- a/automotive/can/1.0/default/libnetdevice/common.cpp +++ b/automotive/can/1.0/default/libnetdevice/common.cpp
@@ -22,6 +22,8 @@ namespace android::netdevice { +socketparams::Params socketparams::current = general; + unsigned int nametoindex(const std::string& ifname) { const auto ifidx = if_nametoindex(ifname.c_str()); if (ifidx != 0) return ifidx;