Mailinglist archives

[list-arpalert] arpalert.c invald argument on FreeBSD

From: Matthias Teege <mteege_at_gmail.com>
Date: Sun, 5 Jul 2009 19:07:52 +0200

Hello,

I run arpalert on a FreeBSD Box but after sometime it dies with

arpalert: select: 4, -1077940832
arpalert: [./arpalert.c 211] select[22]: Invalid argument

There is an special case for NetBSD in arpalert.c arround line 211

 if (selret == -1 && errno != EINTR && errno != EINVAL){
 #else
 if (selret == -1 && errno != EINTR){

and if I compile arpalert with "&& errno != EINVAL" it doesn't die anymore
under FreeBSD but I'm not sure about "side effects".

Does anyone run arpalert under FreeBSD and can reproduce this
behavior?

Many thanks
Matthias

-- 
To unsubscribe send a mail to list+unsubscribe_at_arpalert.org
Received on Sun Jul 05 2009 - 19:08:28 CEST