From a427845e419cc951a9d9dfb98f127407ad603c77 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Thu, 24 Mar 2005 01:39:01 +0000 Subject: [PATCH] dont print error for missing parameters --- ipmitool/lib/ipmi_lanp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipmitool/lib/ipmi_lanp.c b/ipmitool/lib/ipmi_lanp.c index 17a8166..fb585d0 100644 --- a/ipmitool/lib/ipmi_lanp.c +++ b/ipmitool/lib/ipmi_lanp.c @@ -109,7 +109,7 @@ get_lan_param(struct ipmi_intf * intf, uint8_t chan, int param) return p; } if (rsp->ccode > 0) { - lprintf(LOG_ERR, "Get LAN Parameter command failed: %s", + lprintf(LOG_INFO, "Get LAN Parameter command failed: %s", val2str(rsp->ccode, completion_code_vals)); return NULL; } @@ -1038,6 +1038,7 @@ static void ipmi_lan_set_usage(void) lprintf(LOG_NOTICE, " bakgw macaddr Set backup gateway MAC address"); lprintf(LOG_NOTICE, " password Set session password for this channel"); lprintf(LOG_NOTICE, " snmp Set SNMP public community string"); + lprintf(LOG_NOTICE, " user Enable default user for this channel"); lprintf(LOG_NOTICE, " access Enable or disable access to this channel"); lprintf(LOG_NOTICE, " arp response Enable or disable BMC ARP responding"); lprintf(LOG_NOTICE, " arp generate Enable or disable BMC gratuitous ARP generation");