Skip to content

Commit

Permalink
Merge pull request #111 from ngrok/mo/update_uaf_naming
Browse files Browse the repository at this point in the history
update user agent filter comments
  • Loading branch information
jrobsonchase authored Nov 1, 2023
2 parents 5e0c1a4 + f72be80 commit 3227fe1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ngrok/src/config/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,10 @@ impl CidrRestrictions {
/// Restrictions placed on the origin of incoming connections to the edge.
#[derive(Clone, Default)]
pub(crate) struct UaFilter {
/// Rejects connections that do not match the given CIDRs
/// Rejects connections that do not match the given regular expression
pub(crate) allow: Vec<String>,
/// Rejects connections that match the given CIDRs and allows all other CIDRs.
/// Rejects connections that match the given regular expression and allows all other regular
/// expressions.
pub(crate) deny: Vec<String>,
}

Expand Down

0 comments on commit 3227fe1

Please sign in to comment.