bug-inetutils
[Top][All Lists]
Advanced

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

Re: if_config(if_index)


From: Sergey Poznyakoff
Subject: Re: if_config(if_index)
Date: Tue, 10 Jul 2001 12:17:49 +0300

>   The latest change in if_config does not work for me.
<..snip..>
> I do not have any great solution then to revert to the first
> patch. Which is always to provide ifr_index and
> #if defined(__linux__)
> #define ifr_index ifr_ifindex
> #endif

The problem was that system.h, which defines ifr_index for systems
lacking it, was not included in if_index.c. I have replaced
include "if_index.h" with include <ifconfig.h>. This fixes the
problem.

Regards,
Sergey




reply via email to

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