nixos/haka: fix assert
This commit is contained in:
parent
af6f9b7aa8
commit
5c99958613
@ -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