map: don't set default firewall zone to wan
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 29 Apr 2019 14:35:33 +0000 (16:35 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Sun, 26 May 2019 07:44:37 +0000 (09:44 +0200)
commitf54611b06d8867e4f17a0759b8c47f67cb3bc02c
tree6b4c339e11132b6cb68a1abe02d61f9af80c8a7c
parent470f5b31e334e496a868301c0cb8bc550c1ee4da
map: don't set default firewall zone to wan

Don't set the default firewall zone to wan if not specified to keep the
behavior aligned with other tunnel protocols like gre and 6rd.
If the interface zone is not specified try to get it from the firewall config
when constructing the procd firewall rule.
While at it only add procd inbound/outbound firewall rules if a zone is specified.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
package/network/ipv6/map/Makefile
package/network/ipv6/map/files/map.sh