nixos/haka: fix assert (#358675)
This commit is contained in:
commit
6632eed37b
@ -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 != [];
|
||||
|
Loading…
Reference in New Issue
Block a user