mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-01-21 16:42:19 +08:00
gethostbyname() can't handle IPv6. Despite this fact it seems worth of nothing to check whether gethostbyname() really returned AF_INET or not. And that's what attached patch does, resp. in case IPv6 is returned then ipmitool shoud/will terminate.
Description
An open-source tool for controlling IPMI-enabled systems
5.1 MiB
IPMITOOL_1_8_19
Latest
Languages
C
95.7%
Shell
2%
Makefile
1.3%
M4
1%