aboutsummaryrefslogtreecommitdiff
path: root/lib/dpif.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dpif.c')
-rw-r--r--lib/dpif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dpif.c b/lib/dpif.c
index 215ecfcd..74e98569 100644
--- a/lib/dpif.c
+++ b/lib/dpif.c
@@ -469,6 +469,7 @@ dpif_port_clone(struct dpif_port *dst, const struct dpif_port *src)
dst->name = xstrdup(src->name);
dst->type = xstrdup(src->type);
dst->port_no = src->port_no;
+ dst->stats = src->stats;
}
/* Frees memory allocated to members of 'dpif_port'.