Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ipsec: remove dedicated IPSec tunnels
[vpp.git]
/
src
/
vnet
/
ipsec
/
ipsec.c
diff --git
a/src/vnet/ipsec/ipsec.c
b/src/vnet/ipsec/ipsec.c
index
9f3e1d3
..
c54b94a
100644
(file)
--- a/
src/vnet/ipsec/ipsec.c
+++ b/
src/vnet/ipsec/ipsec.c
@@
-206,11
+206,6
@@
ipsec_rsc_in_use (ipsec_main_t * im)
"%d SA entries configured",
pool_elts (im->sad));
"%d SA entries configured",
pool_elts (im->sad));
- if (pool_elts (im->tunnel_interfaces))
- return clib_error_return (0,
- "%d tunnel-interface entries configured",
- pool_elts (im->tunnel_interfaces));
-
return (NULL);
}
return (NULL);
}
@@
-315,9
+310,6
@@
ipsec_init (vlib_main_t * vm)
if ((error = vlib_call_init_function (vm, ipsec_cli_init)))
return error;
if ((error = vlib_call_init_function (vm, ipsec_cli_init)))
return error;
- if ((error = vlib_call_init_function (vm, ipsec_tunnel_if_init)))
- return error;
-
vec_validate (im->crypto_algs, IPSEC_CRYPTO_N_ALG - 1);
a = im->crypto_algs + IPSEC_CRYPTO_ALG_NONE;
vec_validate (im->crypto_algs, IPSEC_CRYPTO_N_ALG - 1);
a = im->crypto_algs + IPSEC_CRYPTO_ALG_NONE;