LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH ipvs,v4 19/20] ipvs: use the new dest addr family field

To: Alex Gartrell <agartrell@xxxxxx>
Subject: Re: [PATCH ipvs,v4 19/20] ipvs: use the new dest addr family field
Cc: horms@xxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx, kernel-team@xxxxxx
From: Julian Anastasov <ja@xxxxxx>
Date: Wed, 10 Sep 2014 09:05:55 +0300 (EEST)
        Hello,

On Tue, 9 Sep 2014, Alex Gartrell wrote:

> On 9/9/14 12:41 PM, Julian Anastasov wrote:
> 
> >     Also, can you try my ipvsadm patches to check for
> > possible problems in the connection listing, so that we
> > can safely apply them to the ipvsadm tree.
> >
> 
> 
> All of the ipvsadm changes work as expected, but it needs an additional tweak:

        Thanks! I guess this is related to formatting of
output, you can submit it as official change, so that we
can apply all pending changes to the ipvsadm tree.

> diff --git a/ipvsadm.c b/ipvsadm.c
> index d12070e..ef19091 100644
> --- a/ipvsadm.c
> +++ b/ipvsadm.c
> @@ -1629,7 +1629,7 @@ print_service_entry(ipvs_service_entry_t *se, unsigned
> int format)
>                         fprintf(stderr, "addrport_to_anyname fails\n");
>                         exit(1);
>                 }
> -               if (!(format & FMT_RULE) && (se->af != AF_INET6))
> +               if (!(format & FMT_RULE) && (e->af != AF_INET6))
>                         dname[28] = '\0';
> 
>                 if (format & FMT_RULE) {
> 
> Thanks,
> -- 
> Alex Gartrell <agartrell@xxxxxx>

Regards

--
Julian Anastasov <ja@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

<Prev in Thread] Current Thread [Next in Thread>