projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] broadcom-wl: give the 007 patch a more meaningful name
[openwrt.git]
/
package
/
swconfig
/
src
/
swlib.c
diff --git
a/package/swconfig/src/swlib.c
b/package/swconfig/src/swlib.c
index
c2316d0
..
20e727e
100644
(file)
--- a/
package/swconfig/src/swlib.c
+++ b/
package/swconfig/src/swlib.c
@@
-397,6
+397,9
@@
int swlib_set_attr_string(struct switch_dev *dev, struct switch_attr *a, int por
val.value.ports = ports;
break;
case SWITCH_TYPE_NOVAL:
+ if (str && !strcmp(str, "0"))
+ return 0;
+
break;
default:
return -1;
This page took
0.019898 seconds
and
4
git commands to generate.