update DSR for Ipv4Address changes in changeset 11755

This commit is contained in:
Tom Henderson
2015-11-09 13:58:48 -08:00
parent bed9c0569b
commit dee782d182

View File

@@ -277,7 +277,7 @@ DsrOptionRreqHeader::~DsrOptionRreqHeader ()
void DsrOptionRreqHeader::SetNumberAddress (uint8_t n)
{
m_ipv4Address.clear ();
m_ipv4Address.assign (n, Ipv4Address (""));
m_ipv4Address.assign (n, Ipv4Address ());
}
Ipv4Address DsrOptionRreqHeader::GetTarget ()
@@ -425,7 +425,7 @@ DsrOptionRrepHeader::~DsrOptionRrepHeader ()
void DsrOptionRrepHeader::SetNumberAddress (uint8_t n)
{
m_ipv4Address.clear ();
m_ipv4Address.assign (n, Ipv4Address (""));
m_ipv4Address.assign (n, Ipv4Address ());
}
void DsrOptionRrepHeader::SetNodesAddress (std::vector<Ipv4Address> ipv4Address)
@@ -568,7 +568,7 @@ uint8_t DsrOptionSRHeader::GetSalvage () const
void DsrOptionSRHeader::SetNumberAddress (uint8_t n)
{
m_ipv4Address.clear ();
m_ipv4Address.assign (n, Ipv4Address (""));
m_ipv4Address.assign (n, Ipv4Address ());
}
void DsrOptionSRHeader::SetNodesAddress (std::vector<Ipv4Address> ipv4Address)