diff options
Diffstat (limited to 'src/vnet/ipsec/ipsec_cli.c')
-rw-r--r-- | src/vnet/ipsec/ipsec_cli.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vnet/ipsec/ipsec_cli.c b/src/vnet/ipsec/ipsec_cli.c index 2c7a923adc3..3a3e53b663e 100644 --- a/src/vnet/ipsec/ipsec_cli.c +++ b/src/vnet/ipsec/ipsec_cli.c @@ -170,12 +170,6 @@ ipsec_sa_add_del_command_fn (vlib_main_t * vm, goto done; } } - if ((flags & IPSEC_SA_FLAG_IS_INBOUND) - && !(flags & IPSEC_SA_FLAG_IS_TUNNEL)) - { - error = clib_error_return (0, "inbound specified on non-tunnel SA"); - goto done; - } if (!(m_args & 1)) { |