public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: passt-dev@passt.top
Subject: [PATCH] passt.1: --{no-,}dhcp-dns and --{no-,}dhcp-search don't take addresses
Date: Tue, 12 Mar 2024 19:21:26 +0100	[thread overview]
Message-ID: <20240312182126.510726-1-sbrivio@redhat.com> (raw)

...they are simple enable/disable options.

Fixes: 89678c515755 ("conf, udp: Introduce basic DNS forwarding")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
---
 passt.1 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/passt.1 b/passt.1
index e97ef73..9c492f5 100644
--- a/passt.1
+++ b/passt.1
@@ -237,28 +237,28 @@ list altogether (if you need to search a domain called "none" you can use
 \fB--search none.\fR).
 
 .TP
-.BR \-\-no-dhcp-dns " " \fIaddr
+.BR \-\-no-dhcp-dns
 In \fIpasst\fR mode, do not assign IPv4 addresses via DHCP (option 23) or IPv6
 addresses via NDP Router Advertisement (option type 25) and DHCPv6 (option 23)
 as DNS resolvers.
 By default, all the configured addresses are passed.
 
 .TP
-.BR \-\-dhcp-dns " " \fIaddr
+.BR \-\-dhcp-dns
 In \fIpasta\fR mode, assign IPv4 addresses via DHCP (option 23) or IPv6
 addresses via NDP Router Advertisement (option type 25) and DHCPv6 (option 23)
 as DNS resolvers.
 By default, configured addresses, if any, are not passed.
 
 .TP
-.BR \-\-no-dhcp-search " " \fIaddr
+.BR \-\-no-dhcp-search
 In \fIpasst\fR mode, do not send the DNS domain search list addresses via DHCP
 (option 119), via NDP Router Advertisement (option type 31) and DHCPv6 (option
 24).
 By default, the DNS domain search list resulting from configuration is passed.
 
 .TP
-.BR \-\-dhcp-search " " \fIaddr
+.BR \-\-dhcp-search
 In \fIpasta\fR mode, send the DNS domain search list addresses via DHCP (option
 119), via NDP Router Advertisement (option type 31) and DHCPv6 (option 24).
 By default, the DNS domain search list resulting from configuration is not
-- 
@@ -237,28 +237,28 @@ list altogether (if you need to search a domain called "none" you can use
 \fB--search none.\fR).
 
 .TP
-.BR \-\-no-dhcp-dns " " \fIaddr
+.BR \-\-no-dhcp-dns
 In \fIpasst\fR mode, do not assign IPv4 addresses via DHCP (option 23) or IPv6
 addresses via NDP Router Advertisement (option type 25) and DHCPv6 (option 23)
 as DNS resolvers.
 By default, all the configured addresses are passed.
 
 .TP
-.BR \-\-dhcp-dns " " \fIaddr
+.BR \-\-dhcp-dns
 In \fIpasta\fR mode, assign IPv4 addresses via DHCP (option 23) or IPv6
 addresses via NDP Router Advertisement (option type 25) and DHCPv6 (option 23)
 as DNS resolvers.
 By default, configured addresses, if any, are not passed.
 
 .TP
-.BR \-\-no-dhcp-search " " \fIaddr
+.BR \-\-no-dhcp-search
 In \fIpasst\fR mode, do not send the DNS domain search list addresses via DHCP
 (option 119), via NDP Router Advertisement (option type 31) and DHCPv6 (option
 24).
 By default, the DNS domain search list resulting from configuration is passed.
 
 .TP
-.BR \-\-dhcp-search " " \fIaddr
+.BR \-\-dhcp-search
 In \fIpasta\fR mode, send the DNS domain search list addresses via DHCP (option
 119), via NDP Router Advertisement (option type 31) and DHCPv6 (option 24).
 By default, the DNS domain search list resulting from configuration is not
-- 
2.39.2


             reply	other threads:[~2024-03-12 18:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-12 18:21 Stefano Brivio [this message]
2024-03-14  2:13 ` [PATCH] passt.1: --{no-,}dhcp-dns and --{no-,}dhcp-search don't take addresses David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240312182126.510726-1-sbrivio@redhat.com \
    --to=sbrivio@redhat.com \
    --cc=passt-dev@passt.top \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).