[LEDE-DEV] [PATCH netifd 1/2] system-linux: parse gre specific settings as nested json data object

Hans Dedecker dedeckeh at gmail.com
Wed Mar 15 00:49:25 PDT 2017


On Tue, Mar 14, 2017 at 11:32 PM, Felix Fietkau <nbd at nbd.name> wrote:
> On 2017-03-14 21:36, Hans Dedecker wrote:
>> Parse gre specific settings ikey, okey, icsum, ocsum, iseqno and oseqno
>> as nested json data object
>>
>> Signed-off-by: Hans Dedecker <dedeckeh at gmail.com>
> Are you sure this works? If I remember correctly, uci_to_blob will only
> add options for which it has a policy.
The nested json data object is created by the proto shell handler
script in this case the gre.sh script. I tested this successfully with
the following gre.sh patch
(https://git.lede-project.org/?p=lede/dedeckeh/staging.git;a=commitdiff;h=8d7ee5c816e7c8792cab565e00a96ae884ea766d)
currently in my staging tree . A similar patch is available for the
vti.sh script.


Hans
>
> - Felix
>



More information about the Lede-dev mailing list