From 792fe6d354493704a0972033900bc89bfad51ec6 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 7 Aug 2019 13:23:24 -0400 Subject: [PATCH] Skip :80 if possible --- xCAT-server/lib/xcat/plugins/dhcp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index a4aab1d8f..7cfeca5dc 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -2452,7 +2452,7 @@ sub addnet my $domain; my $httpport=""; my @hports=xCAT::TableUtils->get_site_attribute("httpport"); - if ($hports[0]){ + if ($hports[0] and $hports[0] ne "80"){ $httpport=":".$hports[0]; } my $firstoctet = $net;