Jonathan Bennett [Mon, 18 May 2015 03:33:30 +0000 (22:33 -0500)]
luci-app-fwknopd: Add qr code support
Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>
Jonathan Bennett [Sat, 9 May 2015 04:30:02 +0000 (23:30 -0500)]
Add initial luci-app-fwknopd - a way to control the firewall knock daemon from luci
Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>
Jo-Philipp Wich [Wed, 6 May 2015 13:59:40 +0000 (15:59 +0200)]
collections/luci: depend on luci-proto-ipv6 if IPV6 is enabled
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Tue, 5 May 2015 08:32:15 +0000 (10:32 +0200)]
luci.mk: don't builtin translations selected by CONFIG_ALL
Make sure that translation packages enabled through CONFIG_ALL
that depend on builtin packages are restricted to modules.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Tue, 28 Apr 2015 13:56:15 +0000 (15:56 +0200)]
Merge pull request #374 from wongsyrone/patch-1
luci-app-ddns: fix Simplified Chinese translations
Syrone Wong [Tue, 28 Apr 2015 13:52:27 +0000 (21:52 +0800)]
luci-app-ddns: fix Simplified Chinese translations
fix typos and elegant zh_CN translations
Jo-Philipp Wich [Mon, 27 Apr 2015 13:09:17 +0000 (15:09 +0200)]
Merge pull request #358 from freifunk-leipzig/master
luci-mod-admin-full: change adress to an ipv6-enabled host
Jo-Philipp Wich [Mon, 27 Apr 2015 13:08:21 +0000 (15:08 +0200)]
Merge pull request #370 from 981213/pull_request
Fix some Simplified Chinese translations in luci.
Jo-Philipp Wich [Mon, 27 Apr 2015 13:06:42 +0000 (15:06 +0200)]
Merge pull request #371 from aidvu/fstab-swap
luci-mod-admin-full: mount points SWAP fix
Andrija Vucinic [Sat, 25 Apr 2015 21:35:33 +0000 (23:35 +0200)]
luci-mod-admin-full: mount points SWAP fix
SWAP section was showing an error. Fixed it to display the devices/size properly.
郭传鈜 [Fri, 24 Apr 2015 04:57:01 +0000 (12:57 +0800)]
luci-base:Add some Simplified Chinese translation for luci-base
郭传鈜 [Fri, 24 Apr 2015 04:55:39 +0000 (12:55 +0800)]
luci-app-ddns:Fix Simplified Chinese translation for luci-app-ddns
Christian Schoenebeck [Thu, 23 Apr 2015 18:22:05 +0000 (20:22 +0200)]
Merge pull request #369 from openwrt/revert-367-translate_pull_request
Revert "luci-app-ddns:Fix Simplified Chinese translation."
Christian Schoenebeck [Thu, 23 Apr 2015 18:18:19 +0000 (20:18 +0200)]
Revert "luci-app-ddns:Fix Simplified Chinese translation."
Christian Schoenebeck [Thu, 23 Apr 2015 18:16:04 +0000 (20:16 +0200)]
Merge pull request #367 from 981213/translate_pull_request
luci-app-ddns:Fix Simplified Chinese translation.
Many Thanks
Christian
郭传鈜 [Thu, 23 Apr 2015 05:10:19 +0000 (13:10 +0800)]
luci-app-ddns:Fix Simplified Chinese translation.
Christian Schoenebeck [Wed, 22 Apr 2015 19:12:12 +0000 (21:12 +0200)]
Merge pull request #364 from chris5560/master
fix wrong xhtml tags in po files
Christian Schoenebeck [Tue, 21 Apr 2015 19:26:00 +0000 (21:26 +0200)]
fix wrong xhtml tags in po files
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Jo-Philipp Wich [Mon, 20 Apr 2015 08:35:08 +0000 (10:35 +0200)]
Synchronize translations
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Mon, 20 Apr 2015 08:17:23 +0000 (10:17 +0200)]
build: rework i18n-sync.sh to support new structure
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Mon, 20 Apr 2015 08:07:46 +0000 (10:07 +0200)]
luci-app-ahcp: remove leftover po templates
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Mon, 20 Apr 2015 08:06:27 +0000 (10:06 +0200)]
Update .gitignore
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Sun, 19 Apr 2015 11:12:53 +0000 (13:12 +0200)]
Merge pull request #361 from hnyman/timezone2015c
Timezone data: Update to 2015c
Hannu Nyman [Sun, 19 Apr 2015 07:48:03 +0000 (10:48 +0300)]
Timezone data: Update to 2015c
Timezone information is updated to 2015c, released on 14 Apr 2015.
I used build/zoneinfo2lua.pl to pull data from my Ubuntu 14.10.
Changes in 2015b and 2015c are rather small:
http://mm.icann.org/pipermail/tz-announce/2015-March/000029.html
http://mm.icann.org/pipermail/tz-announce/2015-April/000030.html
Mongolia will start observing DST again this year, from the last
Saturday in March at 02:00 to the last Saturday in September at 00:00.
Palestine will start DST on March 28, not March 27. Also,
correct the fall 2014 transition from September 26 to October 24.
Adjust future predictions accordingly.
Egypt's spring-forward transition is at 24:00 on April's last Thursday,
not 00:00 on April's last Friday. 2015's transition will therefore be on
Thursday, April 30 at 24:00, not Friday, April 24 at 00:00. Similar fixes
apply to 2026, 2037, 2043, etc.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Jo-Philipp Wich [Fri, 17 Apr 2015 10:34:54 +0000 (12:34 +0200)]
luci-mod-admin-full: handle missing size for block devices
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
FreifunkUFO [Wed, 15 Apr 2015 01:27:35 +0000 (03:27 +0200)]
luci-mod-admin-full: switch to a ipv6 enabled host
change hostname to dev.openwrt.org.. that is available via ipv4 AND ipv6
Jo-Philipp Wich [Sun, 12 Apr 2015 18:20:01 +0000 (20:20 +0200)]
luci-mod-admin-full: simply fstab configuration
Simplify fstab setup by offering hints for uuid/label and device node options.
Fix rootfs handling logic by removing obsolete references to the "is_rootfs"
option and offering "/" and "/overlay" choices for the mountpoint instead.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Steven Barth [Fri, 10 Apr 2015 16:55:56 +0000 (18:55 +0200)]
Fix typo in last commit
Signed-off-by: Steven Barth <steven@midlink.org>
Steven Barth [Fri, 10 Apr 2015 16:04:56 +0000 (18:04 +0200)]
proto_hnet: fix homenet dependency
Signed-off-by: Steven Barth <steven@midlink.org>
Steven Barth [Fri, 10 Apr 2015 15:29:42 +0000 (17:29 +0200)]
proto_hnet: add missing categories
Signed-off-by: Steven Barth <steven@midlink.org>
Jo-Philipp Wich [Tue, 31 Mar 2015 14:07:29 +0000 (16:07 +0200)]
Merge pull request #355 from nmav/no-defaultroute
luci-proto-openconnect: Added option for default gateway
Nikos Mavrogiannopoulos [Sun, 29 Mar 2015 06:31:26 +0000 (08:31 +0200)]
luci-proto-openconnect: Added option for default gateway
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Christian Schoenebeck [Fri, 20 Mar 2015 08:09:21 +0000 (09:09 +0100)]
Merge pull request #347 from chris5560/master-app-ddns
luci-app-ddns: fix errors in global.lua
Christian Schoenebeck [Fri, 20 Mar 2015 08:06:11 +0000 (09:06 +0100)]
luci-app-ddns: fix errors in global.lua
fix dispatcher and validation errors in global.lua
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Jo-Philipp Wich [Wed, 18 Mar 2015 11:43:29 +0000 (12:43 +0100)]
luci-base: fix backslash escaping in luci.util.serialize_json()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Tue, 10 Mar 2015 17:56:41 +0000 (18:56 +0100)]
Merge pull request #336 from legendtang/fix
luci-base: fix wrong pattern of urlencode() (encode '+' properly) #182
Jo-Philipp Wich [Tue, 10 Mar 2015 17:55:46 +0000 (18:55 +0100)]
Merge pull request #304 from nmav/ocserv-crypt
luci-app-ocserv: uclibc's crypt() doesn't support sha2crypt
Jo-Philipp Wich [Tue, 10 Mar 2015 17:55:15 +0000 (18:55 +0100)]
Merge pull request #333 from legendtang/master
themes/bootstrap: add media queries to bootstrap-theme for better responsive UI on mobile devices
Jo-Philipp Wich [Tue, 10 Mar 2015 17:54:24 +0000 (18:54 +0100)]
Merge pull request #338 from chris5560/master-app-privoxy
luci-app-privoxy: cleanup and fixes for #298 #334 #335
Jo-Philipp Wich [Tue, 10 Mar 2015 17:53:37 +0000 (18:53 +0100)]
Merge pull request #339 from Seak/master
ifaces.lua:fix generating /etc/config/dhcp section
Jo-Philipp Wich [Tue, 10 Mar 2015 17:49:10 +0000 (18:49 +0100)]
Merge pull request #337 from chris5560/master-app-ddns
luci-app-ddns: patches for #298 #334 #335
Jo-Philipp Wich [Tue, 10 Mar 2015 17:48:15 +0000 (18:48 +0100)]
Merge pull request #340 from hnyman/png-close-logspam
luci-statistics: fix uhttpd log spam from extra png close
Manuel Munz [Wed, 4 Mar 2015 23:54:21 +0000 (00:54 +0100)]
Merge pull request #344 from melle/fix-dns-community-potsdam
Fixed default DNS settings for community Potsdam
Thomas Mellenthin [Wed, 4 Mar 2015 19:45:27 +0000 (20:45 +0100)]
Fixed default DNS settings for community Potsdam
Hannu Nyman [Mon, 2 Mar 2015 17:04:16 +0000 (19:04 +0200)]
luci-statistics: fix uhttpd log spam from extra png close
Fix log spam that uhttpd logging change has brought to surface.
Sun Mar 1 11:10:42 2015 daemon.err uhttpd[2293]: /usr/lib/lua/luci/dispatcher.lua:433: Failed to execute call dispatcher target for entry '/admin/statistics/graph/conntrack'.
Sun Mar 1 11:10:42 2015 daemon.err uhttpd[2293]: The called action terminated with an exception:
Sun Mar 1 11:10:42 2015 daemon.err uhttpd[2293]: .../luci/controller/luci_statistics/luci_statistics.lua:153: attempt to use a closed file
Closing the png file explicitly on line 153 is unnecessary, as
ltn12's source.file method already closes the file after use.
https://github.com/openwrt/luci/blob/master/modules/luci-base/luasrc/ltn12.lua#L119
More info at https://dev.openwrt.org/ticket/19083#comment:2
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
江海客 [Mon, 2 Mar 2015 07:14:24 +0000 (15:14 +0800)]
/etc/config/dhcp
config dhcp null
Christian Schoenebeck [Sun, 1 Mar 2015 19:37:00 +0000 (20:37 +0100)]
luci-app-privoxy: cleanup and fixes for #298 #334 #335
* remove extra apperror.lua page
* so no nore need for extra directory inside model/cbi
* add option temporary_directory needed for external filters
* remove special handling of bootstrap theme #298 #334
* modified version handling suggested in #335
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Christian Schoenebeck [Sun, 1 Mar 2015 19:08:45 +0000 (20:08 +0100)]
luci-app-ddns: patches for #298 #334 #335
* remove usage of opkg via system call for version handling
thanks to Jo-Philipp Wich #335
* remove special handling of bootstrap theme #298 #334
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Legend Tang [Sat, 28 Feb 2015 19:03:08 +0000 (03:03 +0800)]
luci-base: fix wrong pattern of urlencode() (encode '+' properly) #182
Jo-Philipp Wich [Sat, 28 Feb 2015 18:16:54 +0000 (19:16 +0100)]
Merge pull request #334 from legendtang/fix
theme/bootstrap: add a mssing class style in form section (#298)
Jo-Philipp Wich [Sat, 28 Feb 2015 18:05:42 +0000 (19:05 +0100)]
luci-app-upnp: supress stderr when listing MINIUPNPD chain
Current OpenWrt trunk now relays uhttpd stderr to syslog, so don't spam
it with "iptables: No chain/target/match by that name." when miniupnpd
is not configured but its status is queried by an overview page applet.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Legend Tang [Sat, 28 Feb 2015 17:20:33 +0000 (01:20 +0800)]
theme/bootstrap: add a mssing class style in form section (#298)
NOTE: three <br /> in some luci-app's cbi-tab-descr section which help
to workaround must be removed.
Legend Tang [Sat, 28 Feb 2015 15:08:26 +0000 (23:08 +0800)]
add media queries for better responsive UI on mobile devices
This is for modern browsers only
Jo-Philipp Wich [Sat, 28 Feb 2015 12:25:57 +0000 (13:25 +0100)]
Merge pull request #325 from chris5560/master-app-ddns
luci-app-ddns: update to version 2.2.0-1
Manuel Munz [Wed, 25 Feb 2015 19:11:31 +0000 (20:11 +0100)]
contrib/community-profiles/demo: remove openwifimap
Manuel Munz [Wed, 25 Feb 2015 19:09:47 +0000 (20:09 +0100)]
contrib/community-profiles/augsburg: remove openwifimap
soma [Wed, 25 Feb 2015 19:00:33 +0000 (20:00 +0100)]
contrib/meshwizard: add madwifi iface options if needed
soma [Wed, 25 Feb 2015 18:59:26 +0000 (19:59 +0100)]
contrib/freifunk-common: fix wifi device and iface settings: mcast_rate set to 6000, remove hwmode, remove madwifi only options. introduce a new section to set madwifi iface options
Manuel Munz [Fri, 20 Feb 2015 13:28:11 +0000 (14:28 +0100)]
Merge pull request #328 from chris5560/master-pending-1
wifi.lua: add "Back to Overview" button
Manuel Munz [Fri, 20 Feb 2015 13:20:55 +0000 (14:20 +0100)]
applications/luci-splash: fix
fac02283137f6ff59363695bb07a3f9cec58e577 | ipt module was missing and the new functions didn't return anything
Manuel Munz [Thu, 19 Feb 2015 19:33:26 +0000 (20:33 +0100)]
applications/olsr-services: fix error on public services page
Manuel Munz [Thu, 19 Feb 2015 19:20:31 +0000 (20:20 +0100)]
themes/freifunk-generic: fix error with version string display in header on BB
Manuel Munz [Wed, 18 Feb 2015 23:08:04 +0000 (00:08 +0100)]
Merge pull request #330 from Maltis/patch-1
Delete profile_neuss
Maltis [Wed, 18 Feb 2015 22:40:19 +0000 (23:40 +0100)]
Delete profile_neuss
Manuel Munz [Wed, 18 Feb 2015 21:58:32 +0000 (22:58 +0100)]
Merge pull request #329 from yayachiken/master
Removed outdated information for Freifunk Aachen
David Kolossa [Wed, 18 Feb 2015 21:45:25 +0000 (22:45 +0100)]
Removed outdated information for Freifunk Aachen
- Freifunk Aachen now uses Gluon
- In addition, the old IP space has already been reallocated for other
communities, so the information here is definitely outdated.
Signed-off-by: David Kolossa <david.kolossa@posteo.de>
Christian Schoenebeck [Sat, 14 Feb 2015 10:27:57 +0000 (11:27 +0100)]
wifi.lua: add "Back to Overview" button
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Christian Schoenebeck [Tue, 10 Feb 2015 20:49:57 +0000 (21:49 +0100)]
luci-app-ddns: update to version 2.2.0-1
- implement new option bind_interface
- fixes problems when updating status displays (i.e. showing Software update needed)
- new links to OpenWrt wiki
- new screen to set global settings
- implements global option use_curl
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Manuel Munz [Tue, 10 Feb 2015 07:45:18 +0000 (08:45 +0100)]
Merge pull request #323 from jmccrohan/master
luci-app-asterisk: fix typo in package description
Jo-Philipp Wich [Mon, 9 Feb 2015 15:30:11 +0000 (16:30 +0100)]
Avoid setting duplicate cookies
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Mon, 9 Feb 2015 12:03:44 +0000 (13:03 +0100)]
luci-base: pass session timeout as integer
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Mon, 9 Feb 2015 11:15:06 +0000 (12:15 +0100)]
luci-mod-freifunk: fix public status page
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Mon, 9 Feb 2015 11:14:20 +0000 (12:14 +0100)]
luci-base: establish ubus connection before dropping privileges (#310)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jonathan McCrohan [Mon, 9 Feb 2015 00:38:38 +0000 (00:38 +0000)]
luci-app-asterisk: fix typo in package description
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
Jo-Philipp Wich [Sun, 8 Feb 2015 18:57:20 +0000 (19:57 +0100)]
Merge pull request #302 from chris5560/master
luci-themes: luci.main.mediaurlbase not set correctly
Jo-Philipp Wich [Sun, 8 Feb 2015 18:22:45 +0000 (19:22 +0100)]
Merge pull request #320 from chris5560/master
admin_network: interface details, implement "Back to Overview" button
Jo-Philipp Wich [Sun, 8 Feb 2015 18:18:16 +0000 (19:18 +0100)]
Merge pull request #315 from poranje/proto-ipv6+aiccu
luci-proto-ipv6: add aiccu
Christian Schoenebeck [Sun, 8 Feb 2015 18:17:09 +0000 (19:17 +0100)]
admin_network: interface details, implement back to overview
Implements "Back to Overview" on interface details page
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Jo-Philipp Wich [Sun, 8 Feb 2015 18:13:39 +0000 (19:13 +0100)]
Merge pull request #305 from nmav/compression
luci-app-ocserv: Added option to enable compression
Jo-Philipp Wich [Sun, 8 Feb 2015 18:13:12 +0000 (19:13 +0100)]
Merge pull request #319 from nmav/oc-iface
openconnect: ask for the output interface name
Nikos Mavrogiannopoulos [Sun, 8 Feb 2015 17:46:48 +0000 (18:46 +0100)]
openconnect: ask for the output interface name
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Paul Oranje [Fri, 6 Feb 2015 18:39:56 +0000 (19:39 +0100)]
luci-proto-ipv6: aiccu fixed ip6prefix datatype
Paul Oranje [Fri, 6 Feb 2015 11:04:58 +0000 (12:04 +0100)]
luci-proto-ipv6: aiccu improvements
- option heartbeat as tunnel type (heartbeat or AYIYA) (inspired by
idea of openwrt forum user thefRont)
- another typo fix in the mtu option
Jo-Philipp Wich [Fri, 6 Feb 2015 10:02:58 +0000 (11:02 +0100)]
Merge pull request #317 from hnyman/fix-zoneinfo2lua
zoneinfo2lua.pl to generate shorter copyright messages
Jo-Philipp Wich [Fri, 6 Feb 2015 10:02:40 +0000 (11:02 +0100)]
Merge pull request #316 from hnyman/timezone-2015a
Timezone data: Update to 2015a
Hannu Nyman [Wed, 4 Feb 2015 17:11:41 +0000 (19:11 +0200)]
zoneinfo2lua.pl to generate shorter copyright messages
Change zoneinfo2lua.pl to generate the short copyright messages
that have been there since https://github.com/openwrt/luci/commit/
7a3493b1f7d75a3945279115324cf2ff4da26b7b
Also change the advice on line 3 about directory, where this script
should be run.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Paul Oranje [Wed, 4 Feb 2015 16:51:25 +0000 (17:51 +0100)]
luci-proto-ipv6: fix typo in aiccu mtu range
Hannu Nyman [Wed, 4 Feb 2015 16:50:36 +0000 (18:50 +0200)]
Timezone data: Update to 2015a
Timezone information is updated to 2015a, released on 30 Jan 15.
I used build/zoneinfo2lua.pl to pull data from my Ubuntu 14.10.
Changes are rather small:
http://mm.icann.org/pipermail/tz-announce/2015-January/000028.html
The Mexican state of Quintana Roo, represented by America/Cancun,
will shift from Central Time with DST to Eastern Time without DST.
Chile will not change clocks in April or thereafter; its new
standard time will be its old daylight saving time.
This affects America/Santiago, Pacific/Easter, and Antarctica/Palmer.
Ps. I manually edited headers to have the shorter new copyright,
instead of the long one generated buy the script.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Paul Oranje [Wed, 4 Feb 2015 11:12:59 +0000 (12:12 +0100)]
luci-proto-ipv6: set aiccu mtu option range
Paul Oranje [Tue, 3 Feb 2015 23:04:04 +0000 (00:04 +0100)]
luci-proto-ipv6: add aiccu
initial commit
Jo-Philipp Wich [Thu, 29 Jan 2015 15:26:15 +0000 (16:26 +0100)]
Move inline documentation into separate files.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Wed, 28 Jan 2015 21:31:28 +0000 (22:31 +0100)]
luci-lib-jsonc: add api documentation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Wed, 28 Jan 2015 21:31:14 +0000 (22:31 +0100)]
luci-lib-ip: add api documentation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Wed, 28 Jan 2015 21:29:45 +0000 (22:29 +0100)]
luci-lib-nixio: move CHANGELOG and README into nixio namespace
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Wed, 28 Jan 2015 21:29:03 +0000 (22:29 +0100)]
build: remove *.luadoc files before packaging
Jo-Philipp Wich [Wed, 28 Jan 2015 21:28:29 +0000 (22:28 +0100)]
Remove outdated luadoc from contrib
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Wed, 28 Jan 2015 21:27:46 +0000 (22:27 +0100)]
build: add modified luadoc for use with LuCI sources
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Wed, 28 Jan 2015 13:21:01 +0000 (14:21 +0100)]
luci-lib-ip: add functions to deal with IPv6 mapped IPv6
* Add luci.ip.cidr.is6mapped4() to test whether an IPv6 CIDR is a mapped IPv4 one
* Add luci.ip.cidr.mapped4() to derive IPv4 from mapped CIDR
* Remove mapped IPv4 workaround from constructor as it breaks genuine addrs like ::ffff:0
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Wed, 28 Jan 2015 12:23:24 +0000 (13:23 +0100)]
luci-lib-ip: multiple fixes
* Fix broken neighbor filtering by address range due to uninitialized memory
* Fix wrong sizeof in _cidr_add_sub when adding/substracing IPv6 addresses
* Properly convert numeric values to IPv6 addresses
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Jo-Philipp Wich [Mon, 26 Jan 2015 16:55:09 +0000 (17:55 +0100)]
luci-app-firewall: rework internal/external zone list handling when adding forwards
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>