swconfig: fix vlan/port configs being applied to all switches
authorJonas Gorski <jogo@openwrt.org>
Mon, 3 Oct 2011 23:39:31 +0000 (23:39 +0000)
committerJonas Gorski <jogo@openwrt.org>
Mon, 3 Oct 2011 23:39:31 +0000 (23:39 +0000)
commit5438678549863ab375e65a451af344dc7edc302b
treea14b4dd6723fe3e1ace5aa1849d8a55c963b8a08
parente569eafce1c25196e1f1b1cf2af0456b3ea2108b
swconfig: fix vlan/port configs being applied to all switches

Check devn instead of dev (which will never be null at this point).

SVN-Revision: 28362
package/swconfig/Makefile
package/swconfig/src/uci.c