[OpenWrt-Devel] miniupnpd state loss

2014-10-15 Thread Kao Kevin
Hi, While Running tests in an openwrt based IP gateway, we noticed openwrt hotplug restarts the minupnpd when Ethernet link goes up. The restart results in the miniupnpd lossing its internal state and breaking the upnp GENA (General event notification arch) functions. Please refer to the follo

Re: [OpenWrt-Devel] miniupnpd state loss

2014-10-16 Thread Steven Barth
Your change completely disables reloading which breaks in case of wan switching to a different interface or if lan interfaces are coming up. I commited a change https://github.com/openwrt-routing/packages/commit/8bc38fccc73b40e9599b897e335f2e7a5a67e879 which should avoid restarts in case wan inter

Re: [OpenWrt-Devel] miniupnpd state loss

2014-10-16 Thread Kao Kevin
Hi Steve, The solution works great. I have tested it. Thanks Kevin -Original Message- From: Steven Barth [mailto:cy...@openwrt.org] Sent: Thursday, October 16, 2014 4:48 AM To: openwrt-devel@lists.openwrt.org Cc: Kao Kevin Subject: Re: [OpenWrt-Devel] miniupnpd state loss Your change

Re: [OpenWrt-Devel] miniupnpd state loss

2014-10-16 Thread Luis E. Garcia
> > -Original Message- > From: Steven Barth [mailto:cy...@openwrt.org] > Sent: Thursday, October 16, 2014 4:48 AM > To: openwrt-devel@lists.openwrt.org > Cc: Kao Kevin > Subject: Re: [OpenWrt-Devel] miniupnpd state loss > > Your change completely disables reloading