summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release Version 1.8.17IPMITOOL_1_8_17Zdenek Styblik2016-05-012-1/+77
| | | | Update configure.ac and ChangeLog to 1.8.17.
* ID 440 - remove obsolete headers from lib/ipmi_sunoem.cZdenek Styblik2016-04-241-2/+0
| | | | Commit removes headers which have been obsoleted by POSIX.1-2001.
* ID 440 - Fix 'unknown type name fd_set" error.Dmitry Bazhenov2016-04-241-0/+1
| | | | | Cygwin64 build fails at 'lib/ipmi_sunoem.c' due to missing include. This patch fixes the issue.
* Check rsp->data_len in ipmi_sel_get_info()Zdenek Styblik2016-04-121-2/+5
| | | | | | Commit adds check of response's data_len in ipmi_sel_get_info() as returned data length is unconditional. If incorrect, resp. short, data_len is returned, we might end up reading memory at places we're not supposed to.
* Fix several implicit function declarations in lib/ipmi_fru.cDennis Schridde2016-04-111-0/+10
| | | | | | * ipmi_intf_get_max_request_data_size * ipmi_intf_get_max_response_data_size * ipmi_spd_print_fru
* Fix warning: suggest parentheses around '+' inside '<<' in lib/ipmi_main.cDennis Schridde2016-04-111-1/+1
|
* Fix several implicit declarations of functions in lib/ipmi_main.cDennis Schridde2016-04-111-0/+6
| | | | | | | * ipmi_vita_ipmb_address * vita_discover * ipmi_kontronoem_set_large_buffer * ipmi_intf_set_max_request_data_size
* Fix implicit declarations of functions 'HpmfwupgPreUpgradeCheck' and ↵Dennis Schridde2016-04-111-0/+8
| | | | 'ipmi_intf_get_max_request_data_size' in lib/ipmi_hpmfwupg.c
* Fix implicit declaration of function 'get_nic_selection_mode_12g' in ↵Dennis Schridde2016-04-111-1/+4
| | | | lib/ipmi_delloem.c
* Fix warning: suggest parentheses around arithmetic in operand of '|' in ↵Dennis Schridde2016-04-111-1/+1
| | | | include/ipmitool/hpm2
* Fix implicit declarations of functions 'ipmi_intf_set_max_request_data_size' ↵Dennis Schridde2016-04-111-0/+6
| | | | and 'ipmi_intf_set_max_response_data_size' in lib/hpm2.c
* Fix implicit declaration of function 'ipmi_get_oem' in ↵Dennis Schridde2016-04-111-0/+1
| | | | src/plugins/lanplus/lanplus.c
* Fix implicit declaration of function 'ipmi_get_oem' in src/plugins/open/open.cDennis Schridde2016-04-111-0/+1
|
* Fix implicit declaration of function 'ipmi_get_oem' in src/plugins/imb/imb.cDennis Schridde2016-04-111-0/+1
|
* Fix implicit function declaration of ipmi_intf_get_max_response_data_size in ↵Dennis Schridde2016-04-111-0/+4
| | | | lib/ipmi_sdr.c
* Fix "redirecting incorrect #include <sys/poll.h> to <poll.h>" warning with ↵Dennis Schridde2016-04-114-4/+4
| | | | musl libc
* ID:426 - Fallback to run-time detection of PAGESIZE if compile-time ↵Dennis Schridde2016-04-111-4/+29
| | | | | | | | detection is not supported Fixes an error ('EXEC_PAGESIZE' undeclared) with musl libc. Should adhere to sysconf(3) and posixoptions(7).
* ID:426 - Include wchar.h instead of defining wchar_t ourselvesDennis Schridde2016-04-111-4/+1
| | | | Fixes a compilation error with musl libc
* ID:426 - Include sys/socket.h instead of asm/socket.hDennis Schridde2016-04-111-1/+1
| | | | Fixes a compilation error with musl libc.
* Add INSTALL and NEWS, mandated by autoconfDennis Schridde2016-04-112-0/+370
|
* git-ignore autoconf-generated filesDennis Schridde2016-04-111-0/+12
|
* ID:322 - let 'ekanalyzer frushow' run without a working IPMI targetZdenek Styblik2016-04-102-3/+16
| | | | | | | | | Commit changes a dummy interface in a way that it acts as a dummy interface when no IPMI_DUMMY_SOCK env variable is set. Therefore, it's possible to run 'ekanalyzer frushow' without having BMC. Still, you need to specify this IPMI interface. If IPMI_DUMMY_SOCK is set, then dummy interface will work as it was working before.
* Added missing ipmi_sel_supermicro.h to template Makefile.amMilos2016-04-101-1/+1
|
* Make bootstrap script part of dist packagesZdenek Styblik2016-04-101-1/+1
|
* ID:355 - Change CFLAG -std=c99 to -std=gnu99Zdenek Styblik2016-04-101-1/+1
| | | | | ... until we're more C99 compliant and ready, because C99 flag really and seriously breaks IPMI tool, or so it seems.
* ID:437 - sel: Fix "sel time set <time>"Vasant Hegde2016-04-101-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Presently 'sel time set' doesn't account 'minute' difference between timezone. So depending on host timezone it may set time to +/-30 mins. This patch adds minute difference to delta_hour caluclation so that it sets time properly. output without patch: # ./ipmitool sel time get 03/24/2016 12:34:03 # ./ipmitool sel time set "03/24/2016 12:34:03" 03/24/2016 12:04:03 # ./ipmitool sel time get 03/24/2016 12:06:09 output with patch: # ./ipmitool sel time get 03/30/2016 08:49:47 # ./ipmitool sel time set "03/30/2016 08:09:47" 03/30/2016 08:09:47 # ./ipmitool sel get 03/30/2016 08:09:57 Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
* ID:430 - Change Nokia Siemens Networks to Nokia Solutions and NetworksDong Debin2016-03-272-2/+2
|
* Fix automake compatibility warningsZdenek Styblik2016-03-162-3/+4
| | | | Commit fixes future compatibility warnings from automake.
* Get rid of old INCLUDES macro, use AM_CPPFLAGS instead.Gianfranco Costamagna2016-03-1513-13/+13
|
* Remove #if 0 code aka not-compiled-inZdenek Styblik2016-03-144-45/+0
| | | | | Commit removes code which resides in `#if 0` block. Why? Because this code doesn't get compiled in, so there is no reason for it to be around.
* Remove trailing white-spaces in lib/log.cZdenek Styblik2016-03-141-2/+2
|
* ID:355 - Remove declared, but not used variablesZdenek Styblik2016-03-148-47/+16
| | | | Commit removes bunch of declared, but not used, variables.
* ID:355 - Add #include <strings.h> to lib/ipmi_sel.cZdenek Styblik2016-03-141-0/+1
|
* ID:427 - Cleanup comment in ipmi_sdr_get_header()Zdenek Styblik2016-03-131-8/+2
| | | | Commit cleans up comment in ipmi_sdr_get_header() a bit.
* ID:427 - The first two bytes of dumped raw SDR data is wrong.Puwen2016-03-131-1/+9
| | | | When we dumped the raw SDR data, the first Record ID will overwrite by 0x0000
* ID:428 - Update IANA numbers / Product Name for IBM and ADLINKPuwen2016-03-132-0/+93
| | | | | Updated ID String of IANA Enterprise numbers for IBM and ADLINK Updated ID String of ADLINK Products
* ID:425 - Disable USB interface for OS X/darwinZdenek Styblik2016-03-131-0/+1
| | | | | Commit disables USB interface for OS X/darwin by default as it seems that <scsi/sg.h> is absent.
* ID:431 - Fix correct interpretation of led statesJens Nyberg2016-03-131-25/+29
| | | | | | | | | | | | | | The LED state bits are not mutually exclusive. Bit [0] says LEDs can be controlled locally and the state bit [1] says wheter the default local settings or the override settings are used. This means that both bits can be set at the same time. Bit [2], the lamp test, indicates wether the test is in progress and logically works the same as [1]. If bit [0] is not set then bit [1] and [2] has no meaning. Signed-off-by: Jens Nyberg <jens.nyberg@ericsson.com>
* ID:355 - Add macros and #include and reduce number of warningsZdenek Styblik2016-03-1316-0/+40
| | | | | | Commit adds macros and #include in order to bring down the number of `warning: implicit declaration of function 'X' [-Wimplicit-function-declaration]` warnings.
* ID:424 - Update dimm_spd.c with data from the latest JEDEC ListBenTech22016-02-271-124/+728
| | | | Commit updates code in 'lib/dimm_spd.c' with the data from the latest JEDEC list.
* ID:423 - Don't assume internal use area is present in ekanalyzerZdenek Styblik2016-02-271-1/+1
| | | | | | ... use information in FRU header instead. Patch by Hinko Kocevar.
* ID:407 - Avoid assert on mismatched session IDBoris Ranto2016-02-271-13/+15
| | | | | | | | | Move the logic that checks the session ID from read_session_data_v2x function to the ipmi_lan_poll_single function in order to avoid calling assert in this case. We can continue with the next packet if we detect a session ID mismatch. Signed-off-by: Boris Ranto <branto@redhat.com>
* ID:355 - Move Super Micro stuff into dedicated header fileZdenek Styblik2016-02-273-50/+88
| | | | | | Commit moves Super Micro stuff into dedicated header file in order to cut down on compiler warnings. It seems these aren't used elsewhere other than in 'lib/ipmi_sel.c'.
* ID:414 - ekanalyzer frushow fails to show 'Product Info' correctlyZdenek Styblik2016-02-271-1/+0
| | | | | Commit removes redundant fread() which led to 'ekanalyzer frushow' not to show 'Product Info' correctly.
* ID:417 - Fix some typosZdenek Styblik2016-02-2710-85/+85
| | | | | | Commit fixes typos in texts in code, print-outs, README and man page. Submitted by Jörg Frings-Fürst
* ID:421 - Fix memleak for sol outputRuediger Oertel2016-02-271-1/+2
| | | | CC: Thomas Renninger <trenn@suse.com>
* ID:418 - Fix Compiling under Mac OS XRickard von Essen2016-02-271-0/+1
| | | | | | | | | | | | | | | NI_MAXHOST and NI_MAXSERV is only defined in /usr/include/netdb.h if _DARWIN_C_SOURCE is defined or _POSIX_C_SOURCE is undefined. From /usr/include/netdb.h OS 10.11 - El Capitan: /* * Constants for getnameinfo() */ #if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE) #define NI_MAXHOST 1025 #define NI_MAXSERV 32 #endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */
* ID:419 - List dummy.h in Makefile.am, so it gets included in a release tarballZdenek Styblik2016-02-241-1/+1
|
* ID:410 - Enable/disable USB interface by "auto"Zdenek Styblik2016-02-041-2/+2
| | | | | Commit changes help text for USB interface to "auto" as its default value will rely on pre-defined value in configure.ac, if no value is specified by user.
* ID:410 - Disable USB interface for Windows/Cygwin by default.Dmitry Bazhenov2016-02-041-0/+1
| | | | | USB interface fails to be built under Windows/Cygwin. This patch disables the feature if being built for Windows/Cygwin.