//\r
if (IsHttpOffer) {\r
if (IpExpressedUri) {\r
- OfferType = IsProxyOffer ? HttpOfferTypeProxyIpUri : HttpOfferTypeDhcpIpUri;\r
+ if (IsProxyOffer) {\r
+ OfferType = HttpOfferTypeProxyIpUri;\r
+ } else {\r
+ OfferType = IsDnsOffer ? HttpOfferTypeDhcpIpUriDns : HttpOfferTypeDhcpIpUri;\r
+ }\r
} else {\r
if (!IsProxyOffer) {\r
OfferType = IsDnsOffer ? HttpOfferTypeDhcpNameUriDns : HttpOfferTypeDhcpNameUri;\r