1 | initial version |
Does the inbound/outbound flag in pcapng not set pinfo->link_dir? No it does not. I think the code snippet expects the caller to have set pinfo->link_dir and if the standard code does not do that we'd need a sample pacap and a bug report to try to figure out how to fix that.