Re: Unable to get interface configuration: 22 Invalid argume…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Ilya Ketris
日付:  
To: Philip Hazel
CC: exim-users
題目: Re: Unable to get interface configuration: 22 Invalid argument
On Fri, 10 May 1996, Philip Hazel wrote:

> On Thu, 9 May 1996, Ilya Ketris wrote:
>
> >
> >    When I added a number of virtual interfaces to my Solaris 2.5,
> >    (le0:1, le0:2...), I started getting this message at every
> >    attempt of smtp delivery.

> >
> > log/paniclog:
> >
> > 1996-05-09 10:19:36 0uHWlt-0005Hg-00 Unable to get interface configuration:
> > 22 Invalid argument
> > 1996-05-09 10:19:49 Unable to get interface configuration: 22 Invalid
> > argumenti
> > 1996-05-09 10:19:54 Unable to get interface configuration: 22 Invalid
> > argument
>
> This comes from the following bit of code:
>

...............
> Are there any experts on the list who can comment on why the ioctl goes
> wrong in this case? I didn't invent the code myself; it was copied from
> another program.


    I am not much of an export, but the line


#define MAXINTERFACES 32

    has drawn my attention.  When it was changed to


#define MAXINTERFACES 250

    my problems were gone.  It would be great if you could include
    that in the new release, as a compile option, maybe.


    Ilya