[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in tcp.cc?



Hi,

In tcp.cc: (ns version 2.1b2)

=====
    if (overhead_ == 0 || force) {
      output(t_seqno_++, reason);
      npackets++;
=====

However, "overhead_" is of type "double", so the equality test
may fail even if overhead is set to 0 ...

- Jitu