Skip to content
Open
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
8 changes: 6 additions & 2 deletions pcap-linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -5482,10 +5482,14 @@ iface_dsa_get_proto_info(const char *device, pcap_t *handle)
}
}

/*
* Not an error. We don't know how to decode all DSA tag formats,
* but we shouldn't give up on the packet.
*/
snprintf(handle->errbuf, PCAP_ERRBUF_SIZE,
"unsupported DSA tag: %s", buf);
"unsupported DSA tag: %s", buf);

return PCAP_ERROR;
return 0;
}

/*
Expand Down