Skip to content

Commit

Permalink
Improve documentation on how to debug pf
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Dec 2, 2024
1 parent 24ba2a4 commit a345a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion talpid-core/src/firewall/macos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl Firewall {

pub fn new() -> Result<Self> {
// Allows controlling whether firewall rules should log to pflog0. Useful for debugging the
// rules.
// rules. The firewall rules can be inspected by running `tcpdump -netttti pflog0`.
let firewall_debugging = env::var("TALPID_FIREWALL_DEBUG");
let rule_logging = match firewall_debugging.as_ref().map(String::as_str) {
Ok("pass") => RuleLogging::Pass,
Expand Down

0 comments on commit a345a34

Please sign in to comment.