Skip to content
Merged
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
3 changes: 2 additions & 1 deletion worker/src/dpdk_filter/proc_packets.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ void package_sending_decision(bool solution_is_send, struct rte_mbuf *pkt,
}

bool check_is_exception(uint16_t *port) {
uint16_t host_port = rte_be_to_cpu_16(*port);
for (int i = 0; i < LEN_LIST_EXCEPTION_PORTS; i++) {
if (*port == LIST_EXCEPTION_PORTS[i]) {
if (host_port == LIST_EXCEPTION_PORTS[i]) {
return true;
}
}
Expand Down
Loading