VPP-30 sr_replicate requires DPDK

- added fix to disable functionality when no DPDK
- may extend to support non-DPDK case in future.

Change-Id: Ic8ad4eeb91c4866f3f102dd4a718898eb0419dee
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
diff --git a/vnet/vnet/sr/sr.h b/vnet/vnet/sr/sr.h
index 023ca24..321f49a 100644
--- a/vnet/vnet/sr/sr.h
+++ b/vnet/vnet/sr/sr.h
@@ -187,7 +187,9 @@
 
 vlib_node_registration_t ip6_sr_input_node;
 
+#if DPDK > 0
 vlib_node_registration_t sr_replicate_node;
+#endif /* DPDK */
 
 int ip6_sr_add_del_tunnel (ip6_sr_add_del_tunnel_args_t * a);
 int ip6_sr_add_del_policy (ip6_sr_add_del_policy_args_t * a);