projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initial implementation of OVSDB.
[openvswitch]
/
lib
/
learning-switch.c
diff --git
a/lib/learning-switch.c
b/lib/learning-switch.c
index 73464c688aacd2770fc0d01a1c8087c29bc75b1e..99d5ee4c094e746aec3c6db17dc6bc777d294d99 100644
(file)
--- a/
lib/learning-switch.c
+++ b/
lib/learning-switch.c
@@
-110,7
+110,7
@@
lswitch_create(struct rconn *rconn, bool learn_macs, int max_idle)
struct lswitch *sw;
size_t i;
- sw = x
calloc(1,
sizeof *sw);
+ sw = x
zalloc(
sizeof *sw);
sw->max_idle = max_idle;
sw->datapath_id = 0;
sw->last_features_request = time_now() - 1;