2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-24 03:12:18 +00:00
Files
xcat-core/xCAT-genesis-scripts
Daniel Hilst a3351a2b73 fix(xcat-core): bmcsetup reports failed for a dotted-decimal BMC IPv6 address
An IPv6 address can end in dotted decimal (RFC 4291). ipmitool and
BMCUtils accept 2001:db8:1::192.0.2.20, but ipv6_expand allowed only
hexadecimal digits and colons. bmc_has_address then failed before it read
the BMC, and an OpenBMC reported installstatus failed.

ipv6_expand now converts a dotted-decimal tail into two hexadecimal
groups before it expands the address. It rejects an octet above 255.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-11-12 12:21:14 -03:00
..