From 40e3b2a8dbac943a24db93ac4629255871a97bc3 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Fri, 5 Apr 2024 21:53:43 +0200 Subject: [PATCH] information: add firmware-version --- openwrt/node-whisperer/files/node-whisperer.uci | 1 + src/information.c | 1 + 2 files changed, 2 insertions(+) diff --git a/openwrt/node-whisperer/files/node-whisperer.uci b/openwrt/node-whisperer/files/node-whisperer.uci index 9fc97c1..73450dc 100644 --- a/openwrt/node-whisperer/files/node-whisperer.uci +++ b/openwrt/node-whisperer/files/node-whisperer.uci @@ -8,4 +8,5 @@ config settings 'settings' list information 'site_code' list information 'domain' list information 'system_load' + list information 'firmware_version' list information 'batman_adv' diff --git a/src/information.c b/src/information.c index f7a5b28..bf1cbfd 100644 --- a/src/information.c +++ b/src/information.c @@ -316,6 +316,7 @@ struct nw_information_source information_sources[] = { INFORMATION_SOURCE(site_code, 3), INFORMATION_SOURCE(domain, 4), INFORMATION_SOURCE(system_load, 5), + INFORMATION_SOURCE(firmware_version, 6), INFORMATION_SOURCE(batman_adv, 20), {}, };