Change to string to make translation better

This commit is contained in:
Tim Young 2015-11-18 14:46:11 -05:00
parent 7f263fe993
commit eaf3a46376
1 changed files with 2 additions and 3 deletions

View File

@ -223,9 +223,8 @@ namespace EduNetworkBuilder
}
public string IPFormat(string gw)
{
string tstring = "IP:" +PadIt(_ip.ToIpString())+
" Mask:" + PadIt(_mask.ToIpString())+
" GW:" + PadIt(gw);
string tstring = string.Format("IP:{0} Mask:{1} GW:{2}",
PadIt(_ip.ToIpString()), PadIt(_mask.ToIpString()), PadIt(gw));
return tstring;
}
}