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)
commit936320f1f9efcb65cfb418b14507a5942f726cf7
treed037824553602572fd43a860e278569c555dafe9
parent5171edd8d5f2607511ba2a86cf110686e10a8ad8
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