diff --git a/isotpsniffer.c b/isotpsniffer.c index 44331fc..1bb4489 100644 --- a/isotpsniffer.c +++ b/isotpsniffer.c @@ -322,11 +322,6 @@ int main(int argc, char **argv) goto out; } - if ((setsockopt(s, SOL_CAN_ISOTP, CAN_ISOTP_LL_OPTS, &llopts, sizeof(llopts))) < 0) { - perror("setsockopt"); - r = 1; - goto out; - } if ((setsockopt(t, SOL_CAN_ISOTP, CAN_ISOTP_LL_OPTS, &llopts, sizeof(llopts))) < 0) { perror("setsockopt"); r = 1;