flow: Extend struct flow to contain tunnel outer header.
[openvswitch] / lib / nx-match.c
index 4254747dfef73b1f63f8a4776b7fb922945c6eef..991899403cc5a7a05333c524204e180a846577b5 100644 (file)
@@ -643,7 +643,8 @@ nx_put_raw(struct ofpbuf *b, bool oxm, const struct match *match,
     }
 
     /* Tunnel ID. */
-    nxm_put_64m(b, NXM_NX_TUN_ID, flow->tun_id, match->wc.masks.tun_id);
+    nxm_put_64m(b, NXM_NX_TUN_ID, flow->tunnel.tun_id,
+                match->wc.masks.tunnel.tun_id);
 
     /* Registers. */
     for (i = 0; i < FLOW_N_REGS; i++) {