Skip to content

Commit

Permalink
Fix sql request for uplink action
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Oct 24, 2024
1 parent 98824d4 commit d641d44
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/database/database.sql
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ BEGIN
FROM rule
WHERE (rule.match_uplink_teid = in_uplink_teid
AND rule.match_gnb_ip && in_gnb_ip
AND (rule.match_ue_ip && in_ue_ip)
AND (rule.match_service_ip && in_service_ip)
AND rule.match_ue_ip && in_ue_ip
AND rule.match_service_ip && in_service_ip
AND rule.enabled = TRUE
AND rule.type_uplink = TRUE
);
END;$$ LANGUAGE plpgsql;

Expand Down

0 comments on commit d641d44

Please sign in to comment.