Hi,
Committed revision 39578.
René
On 12.08.2011, at 18:00, Jan Rovins wrote:
> On 8/11/2011 8:59 AM, Hegyi László wrote:
>>
>> Revised patch, in my previous message line ends were somehow wrong. Sorry!
>>
>> helasz
>>
>> diff --git a/tc/m_xt.c b/tc/m_xt.c
>> index 651a59e..13bf19f 100644
>> --- a/tc/m_xt.c
>> +++ b/tc/m_xt.c
>> @@ -160,9 +160,13 @@ static int parse_ipt(struct action_util *a,int *argc_p,
>> return -1;
>> }
>> tcipt_globals.opts =
>> - xtables_merge_options(tcipt_globals.opts,
>> - m->extra_opts,
>> - &m->option_offset);
>> + xtables_merge_options(
>> +#if (XTABLES_VERSION_CODE >= 6)
>> + tcipt_globals.orig_opts,
>> +#endif
>> + tcipt_globals.opts,
>> + m->extra_opts,
>> + &m->option_offset);
>> } else {
>> fprintf(stderr," failed to find target %s\n\n", optarg);
>> return -1;
>> @@ -305,7 +309,11 @@ print_ipt(struct action_util *au,FILE * f, struct
>> rtattr *arg)
>> }
>>
>> tcipt_globals.opts =
>> - xtables_merge_options(tcipt_globals.opts,
>> + xtables_merge_options(
>> +#if (XTABLES_VERSION_CODE >= 6)
>> + tcipt_globals.orig_opts,
>> +#endif
>> + tcipt_globals.opts,
>> m->extra_opts,
>> &m->option_offset);
>> } else {
>>
>>
> Hi Helasz,
>
> I have also ran into this when doing a cross build for Mips64 on the latest
> 9.0 trunk r39542.
> The build system could not apply the patch as given above, perhaps you
> patched against a different version of iproute2?
>
> Anyway, I applied the changes from your patch by hand and re-generated the
> patch, and this one works with the latest T2 revision. I have attached it as
> a file, so that somone with commit access to svn can apply it. (It is August,
> and it seems like everyone is on vacation)
>
> Jan
>
>
>
>> ------------------------------------------------------------------------------------------
>> Megújult a G-Mail! Látogass el a www.gmail.hu <http://gmail.hu> oldalra!
>
> <xtables_merge_options.patch>-----------------------------------------------------------
>
> If you wish to unsubscribe from this mailing, send mail to
> [email protected] with a subject of: unsubscribe t2
--
René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
http://exactcode.com | http://t2-project.org | http://rene.rebe.de
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2