bug-inetutils
[Top][All Lists]
Advanced

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

Re: ifconfig and some minor fixes.


From: Sergey Poznyakoff
Subject: Re: ifconfig and some minor fixes.
Date: Fri, 22 Jun 2001 18:15:51 +0300

> It's just a thought, but since they
> are not standard(?) maybe we could always fall back
> to ifr_addr? or provide/check the macro?

I suppose we'd better check for ifr_netmask in configure.in:

IU_CHECK_STRUCT_FIELD(ifreq,
                      ifr_netmask,
              [#include <sys/socket.h>
               #include <net/if.h>])

and then just do

#ifndef HAVE_IFREC_IFR_NETMASK
# define ifr_netmask ifr_addr
#endif

in appropriate header.

By the way, did the if_index patch work on Neutrino?

Cheers,
Sergey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]