|
From: Zdenek S. <st...@us...> - 2016-01-19 19:43:37
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "ipmitool".
The branch, master has been updated
via f62b924cb405aa114bba7d4651c5eba7cbc97ca6 (commit)
via 8055e0d9fb3a31e24016a10ad0d2d18418d0a70d (commit)
via f67a7a3b2f0aca0ac21c9416633d9306c7cac2d6 (commit)
from ac1b3e1d4697e7ffe05a23c20e5575d45de12eda (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f62b924cb405aa114bba7d4651c5eba7cbc97ca6
Author: Alexander Yurtsev <al...@pi...>
Date: Fri Dec 25 15:48:15 2015 +0300
ID:413 - Print new line chne character when setting user privilege.
The ouput sting on setting user privilege level is missing the trailing new line character.
Add the missing character.
diff --git a/lib/ipmi_user.c b/lib/ipmi_user.c
index 88974e8..e339c2a 100644
--- a/lib/ipmi_user.c
+++ b/lib/ipmi_user.c
@@ -590,7 +590,7 @@ ipmi_user_priv(struct ipmi_intf *intf, int argc, char **argv)
user_access.user_id);
return (-1);
} else {
- printf("Set Privilege Level command successful (user %d)",
+ printf("Set Privilege Level command successful (user %d)\n",
user_access.user_id);
return 0;
}
commit 8055e0d9fb3a31e24016a10ad0d2d18418d0a70d
Author: Alexander Yurtsev <al...@pi...>
Date: Mon Nov 16 13:40:16 2015 +0300
ID:412 - Check errors when setting a user password.
An error which can happen when setting a user password is silently ignored.
Add a completion code check and report error if any.
diff --git a/lib/ipmi_user.c b/lib/ipmi_user.c
index 6074209..88974e8 100644
--- a/lib/ipmi_user.c
+++ b/lib/ipmi_user.c
@@ -602,6 +602,7 @@ ipmi_user_mod(struct ipmi_intf *intf, int argc, char **argv)
/* Disable / Enable */
uint8_t user_id;
uint8_t operation;
+ uint8_t ccode;
if (argc != 2) {
print_user_usage();
@@ -613,8 +614,14 @@ ipmi_user_mod(struct ipmi_intf *intf, int argc, char **argv)
operation = (strncmp(argv[0], "disable", 7) == 0) ?
IPMI_PASSWORD_DISABLE_USER : IPMI_PASSWORD_ENABLE_USER;
- return _ipmi_set_user_password(intf, user_id, operation,
+ ccode = _ipmi_set_user_password(intf, user_id, operation,
(char *)NULL, 0);
+ if (eval_ccode(ccode) != 0) {
+ lprintf(LOG_ERR, "Set User Password command failed (user %d)",
+ user_id);
+ return (-1);
+ }
+ return 0;
}
int
commit f67a7a3b2f0aca0ac21c9416633d9306c7cac2d6
Author: Dmitry Bazhenov <baz...@gm...>
Date: Mon Jan 18 12:46:47 2016 +0500
ID:409 - Fix IPv6 socket creation on Windows/Cygwin.
IPv6-based LAN interface connection using global IPv6 address fails under Windows/Cygwin.
This patch fixes the problem.
diff --git a/src/plugins/ipmi_intf.c b/src/plugins/ipmi_intf.c
index 19ba5e3..090ab2f 100644
--- a/src/plugins/ipmi_intf.c
+++ b/src/plugins/ipmi_intf.c
@@ -451,7 +451,7 @@ ipmi_intf_socket_connect(struct ipmi_intf * intf)
}
/* OK, now try to connect with the scope id from this interface address */
- if (addr6->sin6_scope_id != 0) {
+ if (addr6->sin6_scope_id != 0 || !IN6_IS_ADDR_LINKLOCAL(&tmp6->sin6_addr)) {
if (connect(intf->fd, rp->ai_addr, rp->ai_addrlen) != -1) {
hints.ai_family = rp->ai_family;
lprintf(LOG_DEBUG, "Successful connected on %s interface with scope id %d", ifa->ifa_name, tmp6->sin6_scope_id);
-----------------------------------------------------------------------
Summary of changes:
lib/ipmi_user.c | 11 +++++++++--
src/plugins/ipmi_intf.c | 2 +-
2 files changed, 10 insertions(+), 3 deletions(-)
hooks/post-receive
--
ipmitool
|