From 039a65d0e4f33f8432caae78cd919d2fd2052eea Mon Sep 17 00:00:00 2001 From: Jan Moskyto Matejka Date: Fri, 24 Feb 2017 14:05:11 +0100 Subject: Nexthop: Fixed hostentry --- nest/route.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nest/route.h') diff --git a/nest/route.h b/nest/route.h index 928a022d..98bef1fd 100644 --- a/nest/route.h +++ b/nest/route.h @@ -200,8 +200,8 @@ struct hostentry { unsigned hash_key; /* Hash key */ unsigned uc; /* Use count */ struct rta *src; /* Source rta entry */ - struct nexthop *nh; /* Chosen next hop */ byte dest; /* Chosen route destination type (RTD_...) */ + byte nexthop_linkable; /* Nexthop list is completely non-device */ u32 igp_metric; /* Chosen route IGP metric */ }; @@ -344,8 +344,8 @@ struct nexthop { struct iface *iface; /* Outgoing interface */ struct nexthop *next; byte weight; - byte labels_append; /* Number of labels before hostentry was applied */ - byte labels; /* Number of labels prepended */ + byte labels_orig; /* Number of labels before hostentry was applied */ + byte labels; /* Number of all labels */ u32 label[0]; }; -- cgit v1.2.3