projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1acf26b
)
fix display of uninitialized ports
author
Mike Baker
<mbm@openwrt.org>
Wed, 14 Jun 2006 22:44:35 +0000
(22:44 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Wed, 14 Jun 2006 22:44:35 +0000
(22:44 +0000)
SVN-Revision: 3946
openwrt/target/linux/package/switch/src/switch-robo.c
patch
|
blob
|
history
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;
}