summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9bafc99)
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
include $(TOPDIR)/rules.mk
PKG_NAME:=swconfig
include $(TOPDIR)/rules.mk
PKG_NAME:=swconfig
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/kernel.mk
- if (!dev || !port || !port[0])
+ if (!devn || !port || !port[0])
continue;
port_n = strtoul(port, &port_err, 0);
continue;
port_n = strtoul(port, &port_err, 0);
- if (!dev || !vlan || !vlan[0])
+ if (!devn || !vlan || !vlan[0])
continue;
vlan_n = strtoul(vlan, &vlan_err, 0);
continue;
vlan_n = strtoul(vlan, &vlan_err, 0);