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

Re: ping.cc



Dear ns-users,

>> i ran into a problem getting tcl/greis/ping.cc to compile. the
>> problem occurs on line 93 of the source in the current snapshot:
>>
>> sprintf( out, "%s recv %d %3.1f", name(),
>> hdrip->src_ >> Address::instance().NodeShift_[1],
>> (Scheduler::instance().clock()-hdr->send_time) * 1000);

>Thanks for pointing out the bug in tutorial. the example and the
>tutorial chapter has been revised.

Excuse me please sirs, can you describe, where is the bug? I have run
the Marc Greis's ping simulations on Solaris 7 and RedHat Linux
installations of ns-2.1b5 in several modifications and I had no problem.

When I changed the hdrip->src_ to  hdrip->src_.addr_ the compilation
goes to error.

Thank you for yours answer,


Ivan Fellner