From c41094c2afb1e91329517361e7cf84e19e2ba5c8 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Sun, 1 Nov 2020 23:28:45 +0100 Subject: [PATCH] exact same declaration for random_url[] see #498 --- miniupnpd/testupnpdescgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniupnpd/testupnpdescgen.c b/miniupnpd/testupnpdescgen.c index 238a272..e54ab1b 100644 --- a/miniupnpd/testupnpdescgen.c +++ b/miniupnpd/testupnpdescgen.c @@ -37,7 +37,7 @@ char model_description[] = ROOTDEV_MODELDESCRIPTION; char model_url[] = ROOTDEV_MODELURL; #endif /* ENABLE_MANUFACTURER_INFO_CONFIGURATION */ #ifdef RANDOMIZE_URLS -char random_url[] = "RANDOM"; +char random_url[RANDOM_URL_MAX_LEN] = "RANDOM"; #endif /* RANDOMIZE_URLS */ unsigned int upnp_configid = 666;