diff options
author | Neale Ranns <nranns@cisco.com> | 2017-02-13 23:20:04 -0800 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-03-03 17:11:26 +0000 |
commit | 4008ac998f43265451281cb6e759cd6184e50bed (patch) | |
tree | 7129722f04fac33d79f90b36ca91be2a3aa94eaa /src/vnet/adj | |
parent | 7112c542eac53d28861062b13b602a2817dc4052 (diff) |
Changing the IP table for an interface is an error if the interface already has an address configured (VPP-601)
Change-Id: I311fc264f73dd3b2b3ce9d7d1c33cd0515b36c4a
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/adj')
-rw-r--r-- | src/vnet/adj/adj.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/vnet/adj/adj.c b/src/vnet/adj/adj.c index a99f173f6d0..11f1680d329 100644 --- a/src/vnet/adj/adj.c +++ b/src/vnet/adj/adj.c @@ -441,25 +441,3 @@ VLIB_CLI_COMMAND (adj_show_command, static) = { .short_help = "show adj [<adj_index>] [interface]", .function = adj_show, }; - -/* - * DEPRECATED: DO NOT USE - */ -ip_adjacency_t * -ip_add_adjacency (ip_lookup_main_t * lm, - ip_adjacency_t * copy_adj, - u32 n_adj, - u32 * adj_index_return) -{ - ip_adjacency_t * adj; - - ASSERT(1==n_adj); - - adj = adj_alloc(FIB_PROTOCOL_IP4); - - if (copy_adj) - *adj = *copy_adj; - - *adj_index_return = adj_get_index(adj); - return adj; -} |