From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by passt.top (Postfix, from userid 1000) id 5B49D5A0268; Wed, 15 Mar 2023 10:13:50 +0100 (CET) From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH] passt.1: Fix description of --mtu option Date: Wed, 15 Mar 2023 10:13:50 +0100 Message-Id: <20230315091350.3767103-1-sbrivio@redhat.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: PXX6ACUQN5AU7UPZ3U54XTCZJQFHVV7Q X-Message-ID-Hash: PXX6ACUQN5AU7UPZ3U54XTCZJQFHVV7Q X-MailFrom: sbrivio@passt.top X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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 --- passt.1 | 6 ++++-- 1 file 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 -- 2.39.2