Skip to content

Commit

Permalink
[Backport release-24.05] nixos/haka: fix assert (#358739)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stunkymonkey authored Nov 24, 2024
2 parents b1ef92e + 4a4b569 commit c1d1bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/security/haka.nix
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ in
{ assertion = cfg.pcap != cfg.nfqueue;
message = "either pcap or nfqueue can be enabled, not both.";
}
{ assertion = cfg.nfqueue -> !dump.enable;
{ assertion = cfg.nfqueue -> !cfg.dump.enable;
message = "dump can only be used with nfqueue.";
}
{ assertion = cfg.interfaces != [];
Expand Down

0 comments on commit c1d1bde

Please sign in to comment.