diff --git a/rhizome_http.c b/rhizome_http.c
index 07f89f49..8c16d73a 100644
--- a/rhizome_http.c
+++ b/rhizome_http.c
@@ -532,10 +532,12 @@ int rhizome_server_parse_http_request(rhizome_http_request *r)
"
Radio link margin = %+ddB
"
"Radio temperature = %d°C
"
"SID: %s*
"
+ "%d rhizome bundles in database
"
"%d rhizome transfers in progress
"
"
\n",
last_radio_rssi,last_radio_temperature,
alloca_tohex_sid(my_subscriber->sid),
+ (int)bundles_available,
rhizome_active_fetch_count()
);
rhizome_server_simple_http_response(r, 200, temp);
diff --git a/rhizome_packetformats.c b/rhizome_packetformats.c
index 114cda05..ba4d5150 100644
--- a/rhizome_packetformats.c
+++ b/rhizome_packetformats.c
@@ -171,8 +171,9 @@ static int append_bars(struct overlay_buffer *e, sqlite_retry_state *retry, cons
/* Periodically queue BAR advertisements
Always advertise the most recent 3 manifests in the table, cycle through the rest of the table, adding 17 BAR's at a time
*/
+long long bundles_available=0;
void overlay_rhizome_advertise(struct sched_ent *alarm){
- static long long bundles_available=0;
+ bundles_available=0;
static int64_t bundle_last_rowid=INT64_MAX;
if (!is_rhizome_advertise_enabled())
diff --git a/serval.h b/serval.h
index 14485ad8..398f66fc 100644
--- a/serval.h
+++ b/serval.h
@@ -859,5 +859,7 @@ uint32_t Crc32_ComputeBuf( uint32_t inCrc32, const void *buf,
extern int last_radio_rssi;
extern int last_radio_temperature;
int rhizome_active_fetch_count();
+extern long long bundles_available;
+
#endif // __SERVALD_SERVALD_H