VOM: support for pipes

Change-Id: I5c381dfe2f926f94a34ee8ed8f1b9ec6038d5fe2
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
diff --git a/src/vnet/devices/pipe/pipe_api.c b/src/vnet/devices/pipe/pipe_api.c
index 46bbea5..cb67d1f 100644
--- a/src/vnet/devices/pipe/pipe_api.c
+++ b/src/vnet/devices/pipe/pipe_api.c
@@ -59,7 +59,7 @@
   /* *INDENT-OFF* */
   REPLY_MACRO2(VL_API_PIPE_CREATE_REPLY,
   ({
-    rmp->parent_sw_if_index = ntohl (parent_sw_if_index);
+    rmp->sw_if_index = ntohl (parent_sw_if_index);
     rmp->pipe_sw_if_index[0] = ntohl (pipe_sw_if_index[0]);
     rmp->pipe_sw_if_index[1] = ntohl (pipe_sw_if_index[1]);
   }));
@@ -72,7 +72,7 @@
   vl_api_pipe_delete_reply_t *rmp;
   int rv;
 
-  rv = vnet_delete_pipe_interface (ntohl (mp->parent_sw_if_index));
+  rv = vnet_delete_pipe_interface (ntohl (mp->sw_if_index));
 
   REPLY_MACRO (VL_API_PIPE_DELETE_REPLY);
 }
@@ -98,7 +98,7 @@
   mp->context = ctx->context;
 
   mp->instance = ntohl (instance);
-  mp->parent_sw_if_index = ntohl (parent_sw_if_index);
+  mp->sw_if_index = ntohl (parent_sw_if_index);
   mp->pipe_sw_if_index[0] = ntohl (pipe_sw_if_index[0]);
   mp->pipe_sw_if_index[1] = ntohl (pipe_sw_if_index[1]);