From f21f143367568067c144917f06db7f1dae32087f Mon Sep 17 00:00:00 2001 From: root Date: Thu, 14 Dec 2017 02:26:47 -0500 Subject: [PATCH] only ignore 169.254.x.x for OpenBMC --- xCAT-server/lib/xcat/plugins/openbmc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/openbmc.pm b/xCAT-server/lib/xcat/plugins/openbmc.pm index 1b057e446..b4538cc0a 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc.pm @@ -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) {