2009/10/30 Juha Heinanen jh@tutpro.com:
Iñaki Baz Castillo writes:
> So when a gateway is selected its attributes (strip, tag...) should be > loaded. If there are various entries in "gw" table with same ip_addr > but different attributes belonging to different groups, then the > selected attributes should be those included in the selected "gw" row. > How could be different that this? IMHO it's obvious, but perhaps I > miss something.
there is a bug in k version of lcr module. if you have many gateways with same ip address, then attributes that are used can belong to any of them. i had assumed that same gateway would have same attributes in all groups.
There could be some case in which that's not the expected behavior.
> ok, so as I said above, IMHO it makes 100% sense that the selected > attributes are those balonging to the selected gateway (by matching > "grp_id" of course).
i gave patch to ricardo to try. i'll apply it to k 1.5 when i hear from him.
Hope it tries it.
Thanks a lot.