1
0
mirror of https://passt.top/passt synced 2024-09-28 10:05:47 +00:00

passt.1: Fix description of --mtu option

By default, 65520 bytes are advertised, and zero disables DHCP and
NDP options.

Fixes: ec2b58ea4d ("conf, dhcp, ndp: Fix message about default MTU, make NDP consistent")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2023-03-15 10:06:50 +01:00
parent 4e6178fd46
commit 7727804658

View File

@ -135,8 +135,10 @@ background (if configured to do so).
.TP .TP
.BR \-m ", " \-\-mtu " " \fImtu .BR \-m ", " \-\-mtu " " \fImtu
Assign \fImtu\fR via DHCP (option 26) and NDP (option type 5). Assign \fImtu\fR via DHCP (option 26) and NDP (option type 5). A zero value
By default, no MTU options will be sent. 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 .TP
.BR \-a ", " \-\-address " " \fIaddr .BR \-a ", " \-\-address " " \fIaddr