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)
commitfaabe8e8e60f6100bf7611800676973928e8cced
treecabe44fe56a9f1425fc4433176c05948a3131e33
parent8ddca59465099759db530b1a4e31229ed4333482
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