Re: [netatalk-admins] interface code test


Subject: Re: [netatalk-admins] interface code test
From: a sun (asun@cobalt.com)
Date: Tue Dec 14 1999 - 17:35:57 EST


   Fails to compile. After include a few more .h's, it's clear that
   if_nameindex is neither a struct or a function under solaris (2.6, but
   I think you'll find if_nameindex to be a -- probably recent --
   Linux-ism).

oh darn. i was hoping that solaris would have something like that. are
you sure that nothing useful appears in <net/if.h>? hmm. aix's
if_nameindex needs libinet. does solaris have something similar? in
any case, i have that bit of code protected by an #ifdef SIOCGIFINDEX,
so things should be all right.

-a



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:17:34 EST