Clean up code.

This commit is contained in:
Christian Deacon
2025-03-10 18:04:14 -04:00
parent c88a010aae
commit d5c2413838
2 changed files with 2 additions and 1 deletions

View File

@@ -145,7 +145,7 @@ int main(int argc, char *argv[])
}
// Check first interface.
if (cfg.interfaces[0] == NULL)
if (!cfg.interfaces[0])
{
log_msg(&cfg, 0, 1, "[ERROR] No interface(s) specified in config or CLI override.");