mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-03-04 08:24:01 +01:00
SoftwareVersion: adapt to new software version format
This commit is contained in:
parent
723756d5cd
commit
cb681f6195
2 changed files with 2 additions and 2 deletions
|
|
@ -171,7 +171,7 @@ char *get_softwareversion()
|
|||
|
||||
db_get_value_string("hw", "board", "iopVersion", &v);
|
||||
tmp = dmstrdup(v);// MEM WILL BE FREED IN DMMEMCLEAN
|
||||
val = cut_fx(tmp, delimiter, 2);
|
||||
val = cut_fx(tmp, delimiter, 1);
|
||||
return val;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ int upnp_deviceinfo_get_software_version(char *refparam, struct dmctx *ctx, void
|
|||
return 0;
|
||||
}
|
||||
tmp = dmstrdup(v);// MEM WILL BE FREED IN DMMEMCLEAN
|
||||
*value = cut_fx(tmp, delimiter, 2);
|
||||
*value = cut_fx(tmp, delimiter, 1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue