Re: RFC: net/netfilter reorganization

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

 



On Monday 2008-10-13 14:52, Roman Zippel wrote:
>On Tue, 7 Oct 2008, Jan Engelhardt wrote:
>
>> We are trying to combine TARGET_CONNMARK and MATCH_CONNMARK into a
>> new option, and doing so without showing {TARGET,MATCH}, yet
>> selecting BOTH_CONNMARK when either of {TARGET,MATCH} was previously
>> selected (e.g by feeding oldconfig something that has these options
>> active).
>
>Try the patch below, you can define an alias (e.g. add "option 
>alias=TARGET_CONNMARK" to BOTH_CONNMARK) and kconfig will use the alias 
>while reading the .config file (unless there is already a value for it).
>Previously .config data was only used as a preset for user prompts, for 
>any other derived symbol it's ignored.
>If it does what you need, I can get it merged as quickly as possible 
>after adding a bit of documentation. I maybe also give it another name, as 
>"alias" is a little general and it's not a generally usable alias.

Nope, does not quite do.. it seems it cannot use more than one:

config BOTH
	option alias=TARGET
	option alias=MATCH

Given a .config with TARGET=n, MATCH=m, I will get BOTH=n when
running oldconfig.

--
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