summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/parse-xml.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c
index 746d4ce16..5eccbb9a7 100644
--- a/core/parse-xml.c
+++ b/core/parse-xml.c
@@ -2724,7 +2724,8 @@ extern int shearwater_dive(void *param, int columns, char **data, char **column)
if (data[10])
utf8_string(data[10], &cur_settings.dc.model);
- cur_settings.dc.deviceid = 0xffffffff;
+ cur_settings.dc.deviceid = atoi(data[9]);
+
dc_settings_end();
settings_end();