aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-10-12 18:39:44 -0700
committerDave Barach <openvpp@barachs.net>2020-10-13 16:49:56 +0000
commitaae177e00263a510240fdd754f98685264d6cad3 (patch)
treeaebc6e0f27338ba0afb69f77303363dd1fb2be7f /src/vnet/session
parent148c7b768721231325a349fa82db693190513b53 (diff)
session: allow custom config of segment baseva
Type: improvement Change-Id: If9ea09d652c228004492cf47854a7f6c1f8b3bc2 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index 3295ce7649d..6413da51f3b 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -1905,6 +1905,8 @@ session_config_fn (vlib_main_t * vm, unformat_input_t * input)
;
else if (unformat (input, "enable"))
smm->session_enable_asap = 1;
+ else if (unformat (input, "segment-baseva 0x%lx", &smm->session_baseva))
+ ;
else if (unformat (input, "use-app-socket-api"))
appns_sapi_enable ();
else