swconfig: clear ip address on the switch interface, this prevents duplicate assignmen...
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 16 Sep 2009 14:23:01 +0000 (14:23 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 16 Sep 2009 14:23:01 +0000 (14:23 +0000)
SVN-Revision: 17597

package/swconfig/Makefile
package/swconfig/files/switch.sh

index a3844c5f635cd6e4315b31ef5c4dbf90ff555538..bec94a1ca0980ffe28f74a91ff4e40e215fe7ec1 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=swconfig
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/kernel.mk
index d752b1383d8ece7525a281059415a1e0a07debe8..7078b2e823e3bf2e575b0ca85b7974a593606a31 100644 (file)
@@ -2,6 +2,7 @@
 # Copyright (C) 2009 OpenWrt.org
 
 setup_switch_dev() {
+       ifconfig "$1" 0.0.0.0
        swconfig dev "$1" load network
 }