aboutgitcodebugslistschat
path: root/conf.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-08-19 19:46:01 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-09-01 17:00:27 +0200
commit088d19fbb81be997be7ade437e7e9c079b0387b8 (patch)
tree9daf7d62cb7233845d357740f63af4fac99a3314 /conf.c
parent2166c5872e9b792f8a0284b29e3fab8f2f2607a5 (diff)
downloadpasst-088d19fbb81be997be7ade437e7e9c079b0387b8.tar
passt-088d19fbb81be997be7ade437e7e9c079b0387b8.tar.gz
passt-088d19fbb81be997be7ade437e7e9c079b0387b8.tar.bz2
passt-088d19fbb81be997be7ade437e7e9c079b0387b8.tar.lz
passt-088d19fbb81be997be7ade437e7e9c079b0387b8.tar.xz
passt-088d19fbb81be997be7ade437e7e9c079b0387b8.tar.zst
passt-088d19fbb81be997be7ade437e7e9c079b0387b8.zip
conf: Minor fixes for usage message
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/conf.c b/conf.c
index 79353a1..c1e2961 100644
--- a/conf.c
+++ b/conf.c
@@ -612,9 +612,9 @@ static void usage(const char *name)
info( " if FILE is not given, log to:");
if (strstr(name, "pasta") || strstr(name, "passt4netns"))
- info(" pasta_ISO8601-TIMESTAMP_INSTANCE-NUMBER.pcap");
+ info(" /tmp/pasta_ISO8601-TIMESTAMP_INSTANCE-NUMBER.pcap");
else
- info(" passt_ISO8601-TIMESTAMP_INSTANCE-NUMBER.pcap");
+ info(" /tmp/passt_ISO8601-TIMESTAMP_INSTANCE-NUMBER.pcap");
info( " -m, --mtu MTU Assign MTU via DHCP/NDP");
info( " default: no MTU assigned via DHCP/NDP options");
@@ -662,7 +662,7 @@ static void usage(const char *name)
info( " SPEC can be:");
info( " 'none': don't forward any ports");
info( " 'all': forward all unbound, non-ephemeral ports");
- info( " a comma-separated of ports, optionally ranged with '-'");
+ info( " a comma-separated list, optionally ranged with '-'");
info( " and optional target ports after ':'. Examples:");
info( " -t 22 Forward local port 22 to 22 on guest");
info( " -t 22:23 Forward local port 22 to 23 on guest");
@@ -686,7 +686,7 @@ pasta_ports:
info( " SPEC can be:");
info( " 'none': don't forward any ports");
info( " 'auto': forward all ports currently bound in namespace");
- info( " a comma-separated of ports, optionally ranged with '-'");
+ info( " a comma-separated list, optionally ranged with '-'");
info( " and optional target ports after ':'. Examples:");
info( " -t 22 Forward local port 22 to port 22 in netns");
info( " -t 22:23 Forward local port 22 to port 23");