Thursday, January 04, 2007


Machine That Goes PING!

I was looking through the source code for ping (the Solaris version, and I noticed this:
    496  if (getenv("MACHINE_THAT_GOES_PING") != NULL)
    497   stats = _B_TRUE;

So if you want the "-s" functionality without always having to specify the "-s", set this environment variable.

This fix doesn't appear to have been integrated before Solaris 10 06/06 was set in stone, though, and I don't have access to an 11/06 or recent Solaris Express installation to see it in action. It's not terribly Earth-shaking as code changes go, I just found it amusing.

Truly awesome! :-)
Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?