[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4751DBEA.3050705@o2.pl>
Date: Sat, 01 Dec 2007 23:10:50 +0100
From: Jarek Poplawski <jarkao2@...pl>
To: Laszlo Attila Toth <panther@...abit.hu>
CC: David Miller <davem@...emloft.net>,
Patrick McHardy <kaber@...sh.net>, netdev@...r.kernel.org
Subject: Re: [PATCHv7 iproute2 2/2] Interface group as new ip link option
Laszlo Attila Toth wrote, On 11/29/2007 05:11 PM:
> Interfaces can be grouped and each group has an unique positive integer ID.
> It can be set via ip link. Symbolic names can be specified in
> /etc/iproute2/rt_ifgroup. Any value of unsigned int32 is valid.
...
> diff --git a/lib/rt_names.c b/lib/rt_names.c
> index 8d019a0..ec6638c 100644
> --- a/lib/rt_names.c
> +++ b/lib/rt_names.c
> @@ -439,10 +439,72 @@ int rtnl_dsfield_a2n(__u32 *id, char *arg)
> }
> }
>
> - res = strtoul(arg, &end, 16);
> + res = strtoul(arg, &end, 0);
Won't this break any scripts?
Jarek P.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists