Alfred M. Szmidt <[email protected]> ha escrit:

   > I see why not, but I would not like to see a change in behaviour if
   > the program is called ping6 or ping.

   Sure, that would contradict GNU standards.

   > Maybe we could do something like for dir/vdir/ls?  Have
   > 
   > #ifdef IS_IPv6
   > ...
   > #else /* IS_IPv4 */
   > ...
   > #endif
   > 
   > cruft scattered around?

   Oh, no.  That would make the code hard to maintain.  I am going to place all
   IPv6 stuff into separate compilation unit(s), and to provide wrapper
   functions for calling it from the main module.

Sounds sensible.


Reply via email to