conntrack: Show parent key if present.
Similarly to what happens when CTA_TUPLE_MASTER is present in a ct
netlink dump, add the ability to print out the parent key to the
userspace implementation as well.
@@ -2647,6 +2647,10 @@ conn_to_ct_dpif_entry(const struct conn *conn, struct ct_dpif_entry *entry,
conn_key_to_tuple(&conn->key, &entry->tuple_orig);
conn_key_to_tuple(&conn->rev_key, &entry->tuple_reply);
+ if (conn->alg_related) {
+ conn_key_to_tuple(&conn->parent_key, &entry->tuple_parent);
+ }
+
entry->zone = conn->key.zone;
ovs_mutex_lock(&conn->lock);
