mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-01 11:36:49 +00:00
fix display of uninitialized ports
SVN-Revision: 3946
This commit is contained in:
parent
1acf26b4b9
commit
693d087960
@ -315,6 +315,8 @@ static int handle_vlan_port_read(void *driver, char *buf, int nr)
|
||||
}
|
||||
}
|
||||
|
||||
buf[len] = '\0';
|
||||
|
||||
return len;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user