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)
commit36770e53c1aa489241dc285ba011c89d0bd7f135
treea14b4dd6723fe3e1ace5aa1849d8a55c963b8a08
parent86734b743c816990a8d6de98f2a6b02828494453
swconfig: fix vlan/port configs being applied to all switches

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28362 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/swconfig/Makefile
package/swconfig/src/uci.c