aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-03-15 10:06:50 +0100
committerStefano Brivio <sbrivio@redhat.com>2023-03-17 08:26:07 +0100
commit7727804658bbdf06f27d916bf7d5382d714de337 (patch)
tree4d9fe521a21daccfb144ec5742314de01715d274
parent4e6178fd4660ae85f079e7f34f14525324e1f3ba (diff)
downloadpasst-7727804658bbdf06f27d916bf7d5382d714de337.tar
passt-7727804658bbdf06f27d916bf7d5382d714de337.tar.gz
passt-7727804658bbdf06f27d916bf7d5382d714de337.tar.bz2
passt-7727804658bbdf06f27d916bf7d5382d714de337.tar.lz
passt-7727804658bbdf06f27d916bf7d5382d714de337.tar.xz
passt-7727804658bbdf06f27d916bf7d5382d714de337.tar.zst
passt-7727804658bbdf06f27d916bf7d5382d714de337.zip
passt.1: Fix description of --mtu option
By default, 65520 bytes are advertised, and zero disables DHCP and NDP options. Fixes: ec2b58ea4dc4 ("conf, dhcp, ndp: Fix message about default MTU, make NDP consistent") Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--passt.16
1 files changed, 4 insertions, 2 deletions
diff --git a/passt.1 b/passt.1
index 6136fa5..4c90634 100644
--- a/passt.1
+++ b/passt.1
@@ -135,8 +135,10 @@ background (if configured to do so).
.TP
.BR \-m ", " \-\-mtu " " \fImtu
-Assign \fImtu\fR via DHCP (option 26) and NDP (option type 5).
-By default, no MTU options will be sent.
+Assign \fImtu\fR via DHCP (option 26) and NDP (option type 5). A zero value
+disables assignment.
+By default, the advertised MTU is 65520 bytes, that is, the maximum 802.3 MTU
+minus the length of a 802.3 header, rounded to 32 bits (IPv4 words).
.TP
.BR \-a ", " \-\-address " " \fIaddr