summaryrefslogtreecommitdiff
path: root/fw/app/src/settings.h
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-04-16 22:14:06 +0200
committerxengineering <me@xengineering.eu>2025-04-16 22:14:06 +0200
commit686e372d42002a189a1e9b73e387e3414a97fc97 (patch)
tree6286d89d051ed839b65db9ac1a92cf2ff8af32ee /fw/app/src/settings.h
parent04b2fd43f67cd191e5b38c93ec6f20b06b7946e1 (diff)
downloadiot-contact-686e372d42002a189a1e9b73e387e3414a97fc97.tar
iot-contact-686e372d42002a189a1e9b73e387e3414a97fc97.tar.zst
iot-contact-686e372d42002a189a1e9b73e387e3414a97fc97.zip
WIP: fw: app: Fix SEGFAULT
TODO: Only JSON numbers seem to be encodable. Strings lead to SEGFAULT TODO: For some reason the encoded string is not part of the HTTP response.
Diffstat (limited to 'fw/app/src/settings.h')
-rw-r--r--fw/app/src/settings.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fw/app/src/settings.h b/fw/app/src/settings.h
index 9d46132..dff3c44 100644
--- a/fw/app/src/settings.h
+++ b/fw/app/src/settings.h
@@ -15,7 +15,8 @@
struct settings_syslog_target {
- char ip[IPV6_STRLEN_MAX];
+// char ip[IPV6_STRLEN_MAX];
+ int ip;
};
struct settings_syslog {