On 08/01/2012 07:42 PM, ZioPRoTo (Saverio Proto) wrote: > Update: > https://github.com/ninuxorg/SDK.UBNT.v5.5/commits/master > > funziona tutto (testato su device su banco) manca solo la patch per > l'interfaccia web.
Patch untested (a.k.a. "alla cieca") in allegato. Clauz
>From ad2f4b4f054425e7cb3e148c3227d57598a2204b Mon Sep 17 00:00:00 2001 From: Clauz <cl...@ninux.org> Date: Thu, 2 Aug 2012 14:24:00 +0100 Subject: [PATCH] tentative fix for making gateway optional --- package/ubnt-web/src/ubnt.cfg.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/package/ubnt-web/src/ubnt.cfg.js b/package/ubnt-web/src/ubnt.cfg.js index c718620..de1d4b8 100644 --- a/package/ubnt-web/src/ubnt.cfg.js +++ b/package/ubnt-web/src/ubnt.cfg.js @@ -490,11 +490,6 @@ else if (!_validateNetmask(this.netmask)) err.push('Netmask is invalid.'); - if (!this.gateway.length) - err.push('Gateway IP can not be empty.'); - else if (!_validateNonZeroIP(this.gateway)) - err.push('Gateway IP is invalid.'); - if (err.length > 0) /* makes no sense to check more */ return false; -- 1.7.11.3
_______________________________________________ Wireless mailing list Wireless@ml.ninux.org http://ml.ninux.org/mailman/listinfo/wireless