Skip to content

Commit

Permalink
examples/ipsec-secgw: fix promiscuous mode option
Browse files Browse the repository at this point in the history
[ upstream commit 23d3a46 ]

Currently default value of promiscuous mode flag is true and
even there is command line argument to set it to true.
So it never is in non-promiscuous mode. Fix it by
changing default value to false.

Fixes: d299106 ("examples/ipsec-secgw: add IPsec sample application")

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
  • Loading branch information
nithind1988 authored and steevenlee committed Jun 20, 2022
1 parent 78059ea commit b9b994d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ipsec-secgw/ipsec-secgw.c
Expand Up @@ -160,7 +160,7 @@ uint32_t single_sa_idx;
/* mask of enabled ports */
static uint32_t enabled_port_mask;
static uint64_t enabled_cryptodev_mask = UINT64_MAX;
static int32_t promiscuous_on = 1;
static int32_t promiscuous_on;
static int32_t numa_on = 1; /**< NUMA is enabled by default. */
static uint32_t nb_lcores;
static uint32_t single_sa;
Expand Down

0 comments on commit b9b994d

Please sign in to comment.