[Bug 2065] New: Segfault on probable user error
This commit is contained in:
@@ -2051,15 +2051,18 @@ AnimationInterface::WriteXmlAnim (bool routing)
|
||||
{
|
||||
AnimXmlElement element ("anim");
|
||||
element.AddAttribute ("ver", GetNetAnimVersion ());
|
||||
element.Close ();
|
||||
FILE * f = m_f;
|
||||
if (!routing)
|
||||
{
|
||||
WriteN (element.GetElementString (), m_f);
|
||||
element.AddAttribute ("filetype", "animation");
|
||||
}
|
||||
else
|
||||
{
|
||||
WriteN (element.GetElementString (), m_routingF);
|
||||
element.AddAttribute ("filetype", "routing");
|
||||
f = m_routingF;
|
||||
}
|
||||
element.Close ();
|
||||
WriteN (element.GetElementString (), f);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace ns3 {
|
||||
|
||||
#define MAX_PKTS_PER_TRACE_FILE 100000
|
||||
#define PURGE_INTERVAL 5
|
||||
#define NETANIM_VERSION "netanim-3.105"
|
||||
#define NETANIM_VERSION "netanim-3.106"
|
||||
|
||||
|
||||
struct NodeSize;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import wutils
|
||||
|
||||
# Required NetAnim version
|
||||
NETANIM_RELEASE_NAME = "netanim-3.105"
|
||||
NETANIM_RELEASE_NAME = "netanim-3.106"
|
||||
|
||||
|
||||
def build (bld) :
|
||||
|
||||
Reference in New Issue
Block a user