path: root/sgsnemu/cmdline.ggo
diff options
authorHarald Welte <laforge@gnumonks.org>2017-10-10 08:50:11 +0800
committerHarald Welte <laforge@gnumonks.org>2017-10-14 08:17:07 +0200
commit73abc38dc56d6431f43673d995d6e20f562834b4 (patch)
treebf1976d52e0f2394558dc9fbda2bce6ef87bd807 /sgsnemu/cmdline.ggo
parentbe4baa6d97e259514ff32f9cd3bd325aa572cbde (diff)
sgsnemu: Add '--tun-device' option to specify TUN device name
This way, multiple sgsnemu instances can be runnig in parallel, each of them creating a different tun device for their respective PDP context Change-Id: Id12fbadf924a60db255b6d51b9f647aa51dd2e16
Diffstat (limited to 'sgsnemu/cmdline.ggo')
1 files changed, 1 insertions, 0 deletions
diff --git a/sgsnemu/cmdline.ggo b/sgsnemu/cmdline.ggo
index d8b3c26..7592eb5 100644
--- a/sgsnemu/cmdline.ggo
+++ b/sgsnemu/cmdline.ggo
@@ -54,6 +54,7 @@ option "net" n "Network address for local interface" string no
option "defaultroute" - "Create default route" flag off
option "ipup" - "Script to run after link-up" string no
option "ipdown" - "Script to run after link-down" string no
+option "tun-device" - "Name of the local network interface" string dependon="createif" no
option "pinghost" - "Ping remote host" string no
option "pingrate" - "Number of ping req per second" int default="1" no