Re: ioctl SIOCGARP question

From: Bernd Eckenfels (ecki-news2002-01@lina.inka.de)
Date: Sat Jan 19 2002 - 21:28:44 EST


In article <20020119192045.GA25668@morinfr.org> you wrote:
> memset(&a,0,sizeof(a));
> strcpy(a.arp_dev,INTERFACE);
> sin = (struct sockaddr_in *) &(a.arp_pa);
> sin->sin_family = AF_INET;

You have to set the flags to ATF_PUB or ATF_DONTPUB.

Greetings
Bernd
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Wed Jan 23 2002 - 21:01:13 EST