Skip to content

Commit

Permalink
final touches x2
Browse files Browse the repository at this point in the history
  • Loading branch information
mogaika committed Feb 2, 2024
1 parent 50cdf22 commit f0f9f8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions upf/upf_adf.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,9 @@ app_scan_for_uri (u8 *uri, flow_entry_t *flow, struct rules *active,
{
const ip46_address_t *addr;

flow_direction_op_t pdi_dir_op =
(pdr->pdi.ue_addr.flags & PFCP_UE_IP_ADDRESS_SD) ? FTD_OP_FLIP :
FTD_OP_SAME;
flow_key_el_t pdi_dir_op =
(pdr->pdi.ue_addr.flags & PFCP_UE_IP_ADDRESS_SD) ? FTK_EL_DST :
FTK_EL_SRC;
addr = &flow->key.ip[direction ^ pdi_dir_op];
upf_debug ("Using %U as UE IP, S/D: %u", format_ip46_address, addr,
IP46_TYPE_ANY,
Expand Down

0 comments on commit f0f9f8c

Please sign in to comment.