Commit 070c9ed7 authored by Ferran Martínez Felipe's avatar Ferran Martínez Felipe
Browse files

Changed variable name due to a change in the API between ubuntu 18.04 and ubuntu 20.04

parent 9e996cf0
......@@ -233,7 +233,7 @@ unsigned long CCAN::get_last_rx_timestamp(void)
{
struct timeval tv;
if(ioctl(this->can_socket_fd,SIOCGSTAMP,&tv)==-1)
if(ioctl(this->can_socket_fd,SIOCGRARP,&tv)==-1)
{
/* handle exceptions */
throw CCommException(_HERE_,"Impossible to get the last time stamp",this->comm_id);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment