mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-24 03:12:18 +00:00
a3351a2b73
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>