malta: make eth0 the wan interface by default
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 31 Oct 2015 09:30:57 +0000 (09:30 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 31 Oct 2015 09:30:57 +0000 (09:30 +0000)
commit53830e315e4314236645eb9c3f84552520639d0f
tree99f552ae5bff6f7e8080f4ce78b9c929276af1ae
parentb08e66ea40bc592eccfe2a68fd3968eb114255c9
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47326 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/malta/base-files/etc/uci-defaults/02-network