mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-29 09:18:27 +02:00
fix display of uninitialized ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3946 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8154f2293c
commit
719502879f
@ -315,6 +315,8 @@ static int handle_vlan_port_read(void *driver, char *buf, int nr)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buf[len] = '\0';
|
||||||
|
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user