tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ping(8) picking up another ping's echo replies
On 13 February 2018 at 20:37, Robert Elz <kre%munnari.oz.au@localhost> wrote:
> Date: Tue, 13 Feb 2018 18:22:40 +0100
> From: Martin Husemann <martin%duskware.de@localhost>
> Message-ID: <20180213172240.GA9941%mail.duskware.de@localhost>
>
> | I wonder if we should simply replace arc4random() & 0xffff by
> | arc4random_uniform(0xffff)?
>
> I would simply revert to the old way. It worked.
If the original concern was disclosing the endian-ness, then why not
just hton the pid? :)
David
Home |
Main Index |
Thread Index |
Old Index