projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix display of uninitialized ports
[openwrt/staging/mkresin.git]
/
openwrt
/
target
/
linux
/
package
/
switch
/
src
/
switch-robo.c
diff --git
a/openwrt/target/linux/package/switch/src/switch-robo.c
b/openwrt/target/linux/package/switch/src/switch-robo.c
index b23fca644284d5e68808b01c4a4a525d84a93a5d..eb93f4b98d1f945643d5499db954b6d07554d44e 100644
(file)
--- a/
openwrt/target/linux/package/switch/src/switch-robo.c
+++ b/
openwrt/target/linux/package/switch/src/switch-robo.c
@@
-315,6
+315,8
@@
static int handle_vlan_port_read(void *driver, char *buf, int nr)
}
}
+ buf[len] = '\0';
+
return len;
}