From: Oliver Hartkopp Date: Tue, 6 Jan 2009 09:04:34 +0000 (+0000) Subject: disable default receive filter on the write-only bridge socket. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-utils.git/commitdiff_plain/278ba6377d7e03bbb44b75484e0b66e87c4cbc83 disable default receive filter on the write-only bridge socket. --- diff --git a/candump.c b/candump.c index f2762f9..cbe821e 100644 --- a/candump.c +++ b/candump.c @@ -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;