From: Alexandru Ardelean Date: Thu, 24 Sep 2015 13:40:40 +0000 (+0300) Subject: client: fix copy+paste for some vars X-Git-Tag: 0.8.0~61^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F138%2Fhead;p=thirdparty%2Flldpd.git client: fix copy+paste for some vars Only affects logging. Signed-off-by: Alexandru Ardelean --- diff --git a/src/daemon/client.c b/src/daemon/client.c index 89520cf4..f7961c72 100644 --- a/src/daemon/client.c +++ b/src/daemon/client.c @@ -164,13 +164,13 @@ client_handle_set_configuration(struct lldpd *cfg, enum hmsg_type *type, } if (CHANGED(c_cap_advertise)) { log_debug("rpc", "%s chassis capabilities advertisement", - config->c_promisc?"enable":"disable"); + config->c_cap_advertise?"enable":"disable"); cfg->g_config.c_cap_advertise = config->c_cap_advertise; levent_update_now(cfg); } if (CHANGED(c_mgmt_advertise)) { log_debug("rpc", "%s management addresses advertisement", - config->c_promisc?"enable":"disable"); + config->c_mgmt_advertise?"enable":"disable"); cfg->g_config.c_mgmt_advertise = config->c_mgmt_advertise; levent_update_now(cfg); }