projects
/
openwrt
/
staging
/
noltari.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e1afbe
)
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/package/switch/src/switch-robo.c
patch
|
blob
|
history
diff --git
a/openwrt/package/switch/src/switch-robo.c
b/openwrt/package/switch/src/switch-robo.c
index b23fca644284d5e68808b01c4a4a525d84a93a5d..eb93f4b98d1f945643d5499db954b6d07554d44e 100644
(file)
--- a/
openwrt/package/switch/src/switch-robo.c
+++ b/
openwrt/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;
}