projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xenserver: Cleanup xs-network-uuids and xs-network-names usage
[openvswitch]
/
lib
/
stp.c
diff --git
a/lib/stp.c
b/lib/stp.c
index 87230bd9a27fd7c1979b38dc9982f5eaab45cc02..cf1b2f981c559d139ffcb3439f1e3430587d7662 100644
(file)
--- a/
lib/stp.c
+++ b/
lib/stp.c
@@
-214,7
+214,7
@@
stp_create(const char *name, stp_identifier bridge_id,
struct stp *stp;
struct stp_port *p;
- stp = x
calloc(1,
sizeof *stp);
+ stp = x
zalloc(
sizeof *stp);
stp->name = xstrdup(name);
stp->bridge_id = bridge_id;
if (!(stp->bridge_id >> 48)) {