summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-19 01:32:55 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-19 01:32:55 +0200
commitf8276b9b149f3b0c8f3cdf8d3d0c232bd92e3464 (patch)
treeeba0adb88f9e0408740c2855922db80ece63d55e /config
parentbeecba5195b2f1180f0bdfb6f61f0dbd3dff0eba (diff)
downloadnetifd-f8276b9b149f3b0c8f3cdf8d3d0c232bd92e3464.tar.gz
apply device settings to simple devices with config specified from the interface section (legacy format compatibility), but only if no other config was provided
Diffstat (limited to 'config')
-rw-r--r--config/network11
1 files changed, 6 insertions, 5 deletions
diff --git a/config/network b/config/network
index 2361aa0..9b16bba 100644
--- a/config/network
+++ b/config/network
@@ -7,11 +7,11 @@ config interface loopback
option netmask 255.0.0.0
config device
- option name br-lan
- option type bridge
- list ifname eth0.1
- list ifname eth0.2
- option mtu 1500
+ option name br-lan
+ option type bridge
+ list ifname eth0.1
+ list ifname eth0.2
+ option mtu 1500
config device
option name dummy
@@ -24,6 +24,7 @@ config interface lan
config interface dummy
option ifname eth0.4
+ option mtu 1500
option proto none
config interface lan2