Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Format
[apps/agl-service-can-low-level.git]
/
low-can-binding
/
utils
/
socketcan-raw.cpp
diff --git
a/low-can-binding/utils/socketcan-raw.cpp
b/low-can-binding/utils/socketcan-raw.cpp
index
58b443b
..
ca892e7
100644
(file)
--- a/
low-can-binding/utils/socketcan-raw.cpp
+++ b/
low-can-binding/utils/socketcan-raw.cpp
@@
-36,7
+36,7
@@
namespace utils
int socketcan_raw_t::open(std::string device_name)
{
close();
int socketcan_raw_t::open(std::string device_name)
{
close();
-
+
struct ifreq ifr;
socket_ = socketcan_t::open(PF_CAN, SOCK_RAW, CAN_RAW);
struct ifreq ifr;
socket_ = socketcan_t::open(PF_CAN, SOCK_RAW, CAN_RAW);