several bugfixes, including some memory management

This commit is contained in:
Arnout Engelen
2004-09-14 16:14:23 +00:00
parent a695b7db2a
commit cf2f473cd1
7 changed files with 82 additions and 51 deletions

View File

@@ -218,7 +218,8 @@ bool sameinaddr(in_addr one, in_addr other)
}
bool Packet::isOlderThan (timeval t) {
return (time.tv_sec + PERIOD <= t.tv_sec);
std::cout << "Comparing " << time.tv_sec << " <= " << t.tv_sec << endl;
return (time.tv_sec <= t.tv_sec);
}
bool Packet::Outgoing () {