[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: udhcp vlan/alias bug
From: Bernhard Reutner-Fischer <rep.dot.nop () gmail ! com>
Date: 2008-12-16 16:53:29
Message-ID: 20081216165329.GA2603 () mx ! loc
[Download RAW message or body]
On Tue, Dec 09, 2008 at 02:27:01AM +0100, Stefan de Konink wrote:
>Hi,
Stefan, the busybox list would have be the proper place for your statement.
thanks,
>
>
>Currently it seems that udhcp cannot bind to a vlan or alias interface.
>
>
>I thought the following could do the trick.
>
> char *tmp;
> while (inf[len] != '\0' || inf[len] != '.' || inf[len] != ':')
>len++;
> tmp = strndup(inf, len);
> if (setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, &tmp, len + 1)
>== -1)
> bb_perror_msg_and_die("SO_BINDTODEVICE");
>
> free(tmp);
>
>
>Indeed it seems to bind to the interface, it doesn't seem to be the
>valid solution to solve the issue.
>
>
>Stefan
>_______________________________________________
>uClibc mailing list
>uClibc@uclibc.org
>http://busybox.net/cgi-bin/mailman/listinfo/uclibc
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic