Skip to content

Commit

Permalink
fixup! [WIP] Pass along abstract rule file option
Browse files Browse the repository at this point in the history
  • Loading branch information
aszlig committed Aug 6, 2023
1 parent 07806ad commit 3e7dec0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/preload.cc
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,11 @@ static RuleMatch match_rule(const SockAddr &addr, const Socket::Ptr sock,
if (rule.socket_activation)
return std::make_pair(rulepos, rule);
#endif
if (!rule.socket_path && !rule.reject && !rule.blackhole)
continue;
if (!rule.socket_path && !rule.reject && !rule.blackhole
#if defined(__linux__)
&& !rule.abstract
#endif
) continue;

return std::make_pair(rulepos, rule);
}
Expand Down

0 comments on commit 3e7dec0

Please sign in to comment.