commit | 86a0ff910fc0a77a8b604e616e30b30ae5f25f8c | [log] [tgz] |
---|---|---|
author | Tomasz Wasilczyk <twasilczyk@google.com> | Thu Oct 10 22:44:55 2024 -0700 |
committer | Tomasz Wasilczyk <twasilczyk@google.com> | Fri Oct 11 08:08:28 2024 -0700 |
tree | 0e2008af95c23e83a1ab464501323417769fe308 | |
parent | cd635b940789ac264d69cc188d41ad6507143572 [diff] [blame] |
libnetdevice: define default request flags Bug: 372814636 Test: verified with b/372814636 test service Change-Id: I81e8ac625e6d075d9780b6e2e0a172aec0a04468
diff --git a/automotive/can/1.0/default/libnetdevice/can.cpp b/automotive/can/1.0/default/libnetdevice/can.cpp index 8d82c36..9cf0253 100644 --- a/automotive/can/1.0/default/libnetdevice/can.cpp +++ b/automotive/can/1.0/default/libnetdevice/can.cpp
@@ -70,7 +70,7 @@ can_bittiming bt = {}; bt.bitrate = bitrate; - nl::MessageFactory<ifinfomsg> req(RTM_NEWLINK, NLM_F_REQUEST | NLM_F_ACK); + nl::MessageFactory<ifinfomsg> req(RTM_NEWLINK); req->ifi_index = nametoindex(ifname); if (req->ifi_index == 0) {