Skip to content

Commit

Permalink
dsl: fix: Moved ewan nvram vars outside RTCONFIG_FRS_FEEDBACK scope i…
Browse files Browse the repository at this point in the history
…n shared/defaults.c so that can are part of the default ones and the UI can store them
  • Loading branch information
zaloisio committed Apr 25, 2021
1 parent b99e8b0 commit 236bcdd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions release/src/router/shared/defaults.c
Original file line number Diff line number Diff line change
Expand Up @@ -3259,12 +3259,16 @@ struct nvram_tuple router_defaults[] = {
{ "fb_Subscribed_Info", "", CKN_STR64, CKN_TYPE_DEFAULT, CKN_ACC_LEVEL_DEFAULT, CKN_ENC_DEFAULT, 0 },
{ "fb_attach_iptables", "", CKN_STR1, CKN_TYPE_DEFAULT, CKN_ACC_LEVEL_DEFAULT, CKN_ENC_DEFAULT, 0 },
{ "fb_availability", "", CKN_STR64, CKN_TYPE_DEFAULT, CKN_ACC_LEVEL_DEFAULT, CKN_ENC_DEFAULT, 0 },
{ "ewan_dot1q", "0", CKN_STR1, CKN_TYPE_DEFAULT, CKN_ACC_LEVEL_DEFAULT, CKN_ENC_DEFAULT, 0 },
{ "ewan_vid", "0", CKN_STR4, CKN_TYPE_DEFAULT, CKN_ACC_LEVEL_DEFAULT, CKN_ENC_DEFAULT, 0 },
{ "ewan_dot1p", "0", CKN_STR4, CKN_TYPE_DEFAULT, CKN_ACC_LEVEL_DEFAULT, CKN_ENC_DEFAULT, 0 },
#endif /* RTCONFIG_DSL */
#endif /* RTCONFIG_FRS_FEEDBACK */

#ifdef RTCONFIG_DSL
// Gnuton: Fixes https://github.com/gnuton/asuswrt-merlin.ng/issues/97
{ "ewan_dot1q", "0", CKN_STR1, CKN_TYPE_DEFAULT, CKN_ACC_LEVEL_DEFAULT, CKN_ENC_DEFAULT, 0 },
{ "ewan_vid", "0", CKN_STR4, CKN_TYPE_DEFAULT, CKN_ACC_LEVEL_DEFAULT, CKN_ENC_DEFAULT, 0 },
{ "ewan_dot1p", "0", CKN_STR4, CKN_TYPE_DEFAULT, CKN_ACC_LEVEL_DEFAULT, CKN_ENC_DEFAULT, 0 },
#endif /* RTCONFIG_DSL */

#ifdef __CONFIG_NORTON__
{ "nga_lickey", "0", CKN_STR_DEFAULT, CKN_TYPE_DEFAULT, CKN_ACC_LEVEL_DEFAULT, CKN_ENC_DEFAULT, 0 },
{ "nga_user", "0", CKN_STR_DEFAULT, CKN_TYPE_DEFAULT, CKN_ACC_LEVEL_DEFAULT, CKN_ENC_DEFAULT, 0 },
Expand Down

0 comments on commit 236bcdd

Please sign in to comment.