fix display of uninitialized ports

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3946 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Mike Baker 2006-06-14 22:44:35 +00:00
parent 6bc0654f05
commit 7d39326abb
1 changed files with 2 additions and 0 deletions

View File

@ -315,6 +315,8 @@ static int handle_vlan_port_read(void *driver, char *buf, int nr)
} }
} }
buf[len] = '\0';
return len; return len;
} }