Re: src: remove dependency on libiptc headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 2008-07-30 09:45, Patrick McHardy wrote:
> Jan Engelhardt wrote:
>> commit 8219a9d65fe583de06c2ff4e84d1ea299955184b
>> Author: Jan Engelhardt <jengelh@xxxxxxxxxx>
>> Date:   Wed Jul 30 08:36:33 2008 -0400
>> 
>> src: remove dependency on libiptc headers
>> 
>> struct xt_rateest_match_info {
>> -	char			name1[IFNAMSIZ];
>> -	char			name2[IFNAMSIZ];
>> +	char			name1[16];
>> +	char			name2[16];
>
> Seems unrelated and I don't want to apply this change.
> Please remove the IFNAMSIZ changes.

Then I would have to add linux/if.h everywhere.

>>  struct xtables_match
>>  {
>>   struct xtables_match *next;
>> 
>> -	xt_chainlabel name;
>> +	char name[32];
>>  
>
> Why 32?
>
That is what xt_chainlabel was typedefed to. No clue who had that
idea, char *name would work just as well.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux