From 27b36b690a4b048721f0a568ef0aff03bf8e9855 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Thu, 7 Jul 2016 19:01:00 +0200 Subject: irmd: Prioritize local ipcp for local flows For locally registered processes, the IRMd will first look for the local, then the normal, then the shim-udp. It will look for a normal, a shim-eth-llc and ultimately a shim-udp for non-local destinations. It does not yet check if a remote destination is actually known in a DIF. Fixes #18. --- include/ouroboros/dif_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/ouroboros/dif_config.h b/include/ouroboros/dif_config.h index 20e86cd1..c365800c 100644 --- a/include/ouroboros/dif_config.h +++ b/include/ouroboros/dif_config.h @@ -27,8 +27,8 @@ #define OUROBOROS_DIF_CONFIG_H enum ipcp_type { - IPCP_NORMAL = 0, - IPCP_LOCAL, + IPCP_LOCAL = 0, + IPCP_NORMAL, IPCP_SHIM_UDP, IPCP_SHIM_ETH_LLC }; -- cgit v1.2.3