Skip to content

Conversation

@sourabhjains
Copy link
Contributor

This patch enables fping support in DCE.
In order to run fping successfully an ASSERT (tz == 0) has to be disable inside getitmeofday function in dce.cc.
This ASSERT function doesn't allow application to extract timezone value from DCE.
If any application try to do DCE stops the execution of the application and the simulation as well.
Disabling this ASSERT work for fping because, though fping ask for timezone but never uses it.

Copy link
Member

@teto teto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this increases the maintainance burden for little advantage, what does fping bring that ping doesn't have TCP pings ? I would vote for a mention about the dce_gettimeofday in the wiki instead. @thehajime what do you think ?

NS_LOG_FUNCTION (Current () << UtilsGetNodeId ());
NS_ASSERT (Current () != 0);
NS_ASSERT (tz == 0);
// NS_ASSERT (tz == 0);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am annoyed by this as it might hide problems for other programs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants