Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions slcanpty.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@ int pty2can(int pty, int socket, struct can_filter *fi,
ptr = 1;
goto rx_out;
}
/* check for 'v'ersion command */
if (cmd == 'v') {
sprintf(replybuf, "v1014\r");
tmp = strlen(replybuf);
ptr = 1;
goto rx_out;
}

/* check for serial 'N'umber command */
if (cmd == 'N') {
Expand Down