diff --git a/net/colo-compare.c b/net/colo-compare.c index ccdcba2691..1ce195f877 100644 --- a/net/colo-compare.c +++ b/net/colo-compare.c @@ -179,7 +179,7 @@ static int packet_enqueue(CompareState *s, int mode, Connection **con) "drop packet"); } } - con = &conn; + *con = conn; return 0; }