p("vlan1", "vlan1ports")
print ""
print ""
+ print "#### Loopback configuration"
+ print "config interface loopback"
+ print " option ifname \"lo\""
+ print " option proto static"
+ print " option ipaddr 127.0.0.1"
+ print " option netmask 255.0.0.0"
+ print ""
+ print ""
print "#### LAN configuration"
print "config interface lan"
print " option type bridge"
- p("ifnames", "lan_ifname")
+ p("ifname", "lan_ifname")
print " option proto static"
print " option ipaddr 192.168.1.1"
print " option netmask 255.255.255.0"