2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 01:26:38 +00:00

only ignore 169.254.x.x for OpenBMC

This commit is contained in:
root 2017-12-14 02:26:47 -05:00
parent 82069dccf5
commit f21f143367

View File

@ -2820,7 +2820,7 @@ sub rspconfig_response {
if ($adapter_id) {
if ( (defined($content{Origin}) and $content{Origin} =~ /LinkLocal/) or
(defined($content{Address}) and $content{Address} =~ "169.254") ) {
(defined($content{Address}) and $content{Address} =~ /^169.254/) ) {
# OpenBMC driver has a interim bug where ZeroConfigIP comes up as DHCP instead of LinkLocal.
# To protect xCAT while the drivers change, check the 169.254 IP also
if ($xcatdebugmode) {