summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adapter.c b/src/adapter.c
index a2dc4ce0..f19cc3d3 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -2137,7 +2137,7 @@ static void create_stored_records_from_keys(char *key, char *value,
uint8_t *pdata;
char tmp[3] = "";
- if (strstr(key, addr) == NULL)
+ if (strncmp(key, addr, 17))
return;
size = strlen(value)/2;