]> git.ipfire.org Git - thirdparty/openwrt.git/commit
map: rename type to maptype (FS#3287)
authorRemi NGUYEN VAN <remi.nguyenvan+openwrt@gmail.com>
Sat, 15 Aug 2020 14:03:26 +0000 (23:03 +0900)
committermaurerr <mariusd84@gmail.com>
Wed, 1 Sep 2021 08:06:52 +0000 (08:06 +0000)
commit34bce7fd1d4d3b4bc52fa4c2d63fb8ac72e5f337
tree4561b39b6c45364dc088d184e2c3845442de4b5a
parenta276d5818507c950560412bb081d510dc4de2210
map: rename type to maptype (FS#3287)

"type" is already used as a common option for all protocols types, so
using the same option name for the map type makes the configuration
ambiguous. Luci in particular adds controls for both options and sees
errors when reading the resulting configuration.

Use "maptype" instead, but still fallback to "type" if "maptype" is not
set. This allows configurations to migrate without breaking old
configurations.

This addresses FS#3287.

Signed-off-by: Remi NGUYEN VAN <remi.nguyenvan+openwrt@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
Signed-off-by: maurerr <mariusd84@gmail.com>
package/network/ipv6/map/Makefile
package/network/ipv6/map/files/map.sh