On Wed, Jan 09, 2008 at 10:03:33PM +0000, Denys Vlasenko wrote:
>On Tuesday 08 January 2008 21:36, Vladimir Dronnikov wrote:
>> Hi, Denis!
>> 
>> Attached is the patch that adds to BB ability to manage Ethernet bridges.
>> It's a stripped down version of brctl utility from GPL bridge-utils.
>> It just helped me to have finished tuning of a linux gate which I want to be
>> controlled by only BB utilities.
>
>You really are going to port entire linux distro to bbox, yes? ;)
>
>> Please, take a look.
>
>+       if (br_get_bridge_info(name, &info)) {
>+               fprintf(stderr, "can't get info %s\n",
>+                               strerror(errno));

furthermore this should use bb_perror_msg("Can't get info");

>+               return 1;
>+       }
>+
>+       br_dump_bridge_id((unsigned char *)&info.bridge_id);
>
>Hmm... where are br_get_bridge_info() and br_dump_bridge_id()
>bodies?
>
>--
>vda
>_______________________________________________
>busybox mailing list
>[email protected]
>http://busybox.net/cgi-bin/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to