2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-02 16:28:25 +00:00

Skip :80 if possible

This commit is contained in:
Jarrod Johnson
2019-08-07 13:23:24 -04:00
parent b375d3268c
commit 792fe6d354

View File

@@ -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;