malta: make eth0 the wan interface by default
authorFelix Fietkau <nbd@openwrt.org>
Sat, 31 Oct 2015 09:30:57 +0000 (09:30 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 31 Oct 2015 09:30:57 +0000 (09:30 +0000)
commit36d9620473778d636cd349254179c04560ae0cae
tree99f552ae5bff6f7e8080f4ce78b9c929276af1ae
parent9b4277a37daf5b3d421fd32c2abf2749e71b7b35
malta: make eth0 the wan interface by default

Many packages for OpenWrt currently assume that lan is the "internal"
side of the network map, e.g. if installed, dnsmasq will hand out DHCP
leases on lan, firewall will allow forwarding on lan.

While at it, also configure a lan interface if eth1 exists.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 47326
target/linux/malta/base-files/etc/uci-defaults/02-network