What about turning the reflection parameter from a bool into a string
value which is either "src" or "dest".
If set to "src" it would reflect to the ip of the network referenced by
"option src" (i.e. the external/wan one) and if set to "dest" it would
use the ip of the network referenced by "option dest" (i.e. the
internal/lan one).
Additionally the bool values (on/1/yes) are still allowed and treated as
"dest" to retain the old behaviour.
Would this work for you?
~ Jow
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel