mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-03-11 19:59:11 +01:00
tr181: fix return of uninitalized pointer
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
This commit is contained in:
parent
f9a9896005
commit
1cec0190fd
1 changed files with 2 additions and 0 deletions
|
|
@ -1169,6 +1169,8 @@ static char *get_dsl_link_encapsulation_standard(char *str)
|
|||
dsl_link_encapsulation_standard = "G.993.2_Annex_K_PTM";
|
||||
else if(strcmp(str, "auto") == 0)
|
||||
dsl_link_encapsulation_standard = "G.994.1";
|
||||
else
|
||||
dsl_link_encapsulation_standard = "unknown";
|
||||
|
||||
return dsl_link_encapsulation_standard;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue