fix display of uninitialized ports
SVN-Revision: 3946
This commit is contained in:
parent
1acf26b4b9
commit
693d087960
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue