From eca7b7aabbe8d2699d4860ba24dd41e18e8b0f3b Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Wed, 13 Jan 2016 09:49:22 +0100 Subject: [PATCH] minissdpd.c: set BOOTID.UPNP.ORG to start timestamp --- minissdpd/minissdpd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/minissdpd/minissdpd.c b/minissdpd/minissdpd.c index e855697..df2d071 100644 --- a/minissdpd/minissdpd.c +++ b/minissdpd/minissdpd.c @@ -1,6 +1,6 @@ /* $Id: minissdpd.c,v 1.50 2015/08/06 14:05:49 nanard Exp $ */ /* MiniUPnP project - * (c) 2007-2015 Thomas Bernard + * (c) 2007-2016 Thomas Bernard * website : http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ * This software is subject to the conditions detailed * in the LICENCE file provided within the distribution */ @@ -1161,6 +1161,8 @@ int main(int argc, char * * argv) return 1; } + upnp_bootid = (unsigned int)time(NULL); + /* set signal handlers */ memset(&sa, 0, sizeof(struct sigaction)); sa.sa_handler = sigterm;