public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH] passt.1: --{no-,}dhcp-dns and --{no-,}dhcp-search don't take addresses
@ 2024-03-12 18:21 Stefano Brivio
  2024-03-14  2:13 ` David Gibson
  0 siblings, 1 reply; 2+ messages in thread
From: Stefano Brivio @ 2024-03-12 18:21 UTC (permalink / raw)
  To: passt-dev

...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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] passt.1: --{no-,}dhcp-dns and --{no-,}dhcp-search don't take addresses
  2024-03-12 18:21 [PATCH] passt.1: --{no-,}dhcp-dns and --{no-,}dhcp-search don't take addresses Stefano Brivio
@ 2024-03-14  2:13 ` David Gibson
  0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2024-03-14  2:13 UTC (permalink / raw)
  To: Stefano Brivio; +Cc: passt-dev

[-- Attachment #1: Type: text/plain, Size: 2091 bytes --]

On Tue, Mar 12, 2024 at 07:21:26PM +0100, Stefano Brivio wrote:
> ...they are simple enable/disable options.
> 
> Fixes: 89678c515755 ("conf, udp: Introduce basic DNS forwarding")
> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>

> ---
>  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

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-14  2:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-12 18:21 [PATCH] passt.1: --{no-,}dhcp-dns and --{no-,}dhcp-search don't take addresses Stefano Brivio
2024-03-14  2:13 ` David Gibson

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).