[Dnsmasq-discuss] [PATCH] Was: PATCH Add DHCP6REPLY for DHCP6REBIND

Geert Stappers stappers at stappers.nl
Fri Apr 9 22:13:17 UTC 2021


In-Reply-To: <20210408091641.30245-1-liaichun at huawei.com>
On Thu, Apr 08, 2021 at 05:16:41PM +0800, Aichun Li wrote:
> From: liaichun <liaichun at huawei.com>
> 
> Before this, we receive a DHCP6REBIND request and do not reply.
> We should increase the number of responses to such packets.
> 
> Signed-off-by: liaichun <liaichun at huawei.com>
> ---
>  src/rfc3315.c | 100 +++++++++++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 99 insertions(+), 1 deletion(-)
> 
> diff --git a/src/rfc3315.c b/src/rfc3315.c
> index 982c68a..f6fff34 100644
> --- a/src/rfc3315.c
> +++ b/src/rfc3315.c
> @@ -1027,7 +1027,105 @@ static int dhcp6_no_relay(struct state *state, int msg_type, void *inbuff, size_
>  	break;
>  	
>        }
> -      
> +

Such changes should happen for a last time   :-)


What follows is a patch too large for mailinglist message size limit.
Hence "Copy and paste in bash"

sed --in-place -e 's/^[ \t]*$//' src/*.c src/*.h
git diff | wc  # shows large line count
git diff -w    # shows that it is only white space
git add src/*.c src/*.h
git commit -m "sed --in-place -e 's/^[ \t]*$//' src/*.c src/*.h

Makes empty lines truely empty lines."  --author "Geert Stappers <stappers at stappers.nl>"





Groeten
Geert Stappers
-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list