aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp/vnet/main.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-08-30 17:12:25 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2017-08-31 07:33:37 +0000
commitc67787be51c4cbf4e5c1a28af621822aa8cae513 (patch)
treefbcac7707c8fe64625b2f3ca8dfcf3d2ddaf36d5 /src/vpp/vnet/main.c
parent203c0794837c519c32af1cf638bfd47fd17a35de (diff)
Set runtime_path properly when running non-root
non-root users should use /run/user/$PID/... Change-Id: I1ca136df7a339eff193ed9c9a396d6965b192d0e Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vpp/vnet/main.c')
-rw-r--r--src/vpp/vnet/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp/vnet/main.c b/src/vpp/vnet/main.c
index 9fe65fe2..76371dbe 100644
--- a/src/vpp/vnet/main.c
+++ b/src/vpp/vnet/main.c
@@ -44,7 +44,7 @@ vpe_main_init (vlib_main_t * vm)
/*
* Default path for runtime data
*/
-char *vlib_default_runtime_dir = "/run/vpp";
+char *vlib_default_runtime_dir = "vpp";
/*
* Load plugins from /usr/lib/vpp_plugins by default