disable default receive filter on the write-only bridge socket.

pull/7/head
Oliver Hartkopp 2009-01-06 09:04:34 +00:00
parent 6104197c6a
commit 278ba6377d
1 changed files with 3 additions and 0 deletions

View File

@ -279,6 +279,9 @@ int main(int argc, char **argv)
return 1;
}
/* disable default receive filter on this write-only RAW socket */
setsockopt(bridge, SOL_CAN_RAW, CAN_RAW_FILTER, NULL, 0);
if (opt == 'B') {
int loopback = 0;