"resume",
NULL) == -1) {
log_warn("main", "unable to execute %s", path);
- log_warnx("main", "configuration may be incomplete");
+ log_warnx("main", "configuration is incomplete, lldpd needs to be unpaused");
}
}
exit(127);
cfg->g_config.c_cid_pattern = cidp;
cfg->g_config.c_iface_pattern = interfaces;
cfg->g_config.c_smart = smart;
- cfg->g_config.c_paused = 1;
+ if (lldpcli)
+ cfg->g_config.c_paused = 1;
cfg->g_config.c_receiveonly = receiveonly;
cfg->g_config.c_tx_interval = LLDPD_TX_INTERVAL;
#ifdef USE_SNMP