update DSR for Ipv4Address changes in changeset 11755
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user