diff options
author | Ole Trøan <otroan@employees.org> | 2018-02-15 21:56:06 +0000 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2018-02-15 22:12:03 +0000 |
commit | 438f63094465d35c278155484fe85153e438873e (patch) | |
tree | 06e0ec613a6b2393ef2021f12ea7545fade9fec2 /src/vnet/adj/adj_internal.h | |
parent | 909c26bda66313b86168dda31003f76410c1d746 (diff) |
Revert "Allow interface types to override glean adjacency behaivour"
This reverts commit 8b30e471df4d42214619e1d6c50cc8298426b45f.
Change-Id: I99edb236eb0a7f8ba3fba333c3481a710ebcb59c
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet/adj/adj_internal.h')
-rw-r--r-- | src/vnet/adj/adj_internal.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/vnet/adj/adj_internal.h b/src/vnet/adj/adj_internal.h index 3b7ddb2f10c..e6d276e4d02 100644 --- a/src/vnet/adj/adj_internal.h +++ b/src/vnet/adj/adj_internal.h @@ -78,21 +78,6 @@ adj_fib_proto_2_nd (fib_protocol_t fp) return (0); } -static inline ip46_type_t -adj_proto_to_46 (fib_protocol_t proto) -{ - switch (proto) - { - case FIB_PROTOCOL_IP4: - return (IP46_TYPE_IP4); - case FIB_PROTOCOL_IP6: - return (IP46_TYPE_IP6); - default: - return (IP46_TYPE_IP4); - } - return (IP46_TYPE_IP4); -} - /** * @brief * Get a pointer to an adjacency object from its index |