fix display of uninitialized ports

SVN-Revision: 3946
lede-17.01
Mike Baker 2006-06-14 22:44:35 +00:00
parent 7e1afbe478
commit ffa7abcdd1
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;
}