lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100723132228.16394c0f@nehalam>
Date:	Fri, 23 Jul 2010 13:22:28 -0700
From:	Stephen Hemminger <shemminger@...tta.com>
To:	Arnd Hannemann <hannemann@...s.rwth-aachen.de>
Cc:	shemminger@...l.org, netdev@...r.kernel.org
Subject: Re: [PATCH] iproute2: Add dsfield as alias for tos for ip rules

On Fri, 21 May 2010 16:10:09 +0200
Arnd Hannemann <hannemann@...s.rwth-aachen.de> wrote:

> From: Arnd Hannemann <arnd@...a.(none)>
> 
> Get ip rule parsing of "dsfield" in sync with ip route parsing and manual page.
> 
> Signed-off-by: Arnd Hannemann <hannemann@...s.rwth-aachen.de>
> ---
>  ip/iprule.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/ip/iprule.c b/ip/iprule.c
> index 7140375..cbf8226 100644
> --- a/ip/iprule.c
> +++ b/ip/iprule.c
> @@ -270,7 +270,8 @@ static int iprule_modify(int cmd, int argc, char **argv)
>  			if (get_u32(&pref, *argv, 0))
>  				invarg("preference value is invalid\n", *argv);
>  			addattr32(&req.n, sizeof(req), FRA_PRIORITY, pref);
> -		} else if (strcmp(*argv, "tos") == 0) {
> +		} else if (strcmp(*argv, "tos") == 0 ||
> +			   matches(*argv, "dsfield") == 0) {
>  			__u32 tos;
>  			NEXT_ARG();
>  			if (rtnl_dsfield_a2n(&tos, *argv))

Applied

-- 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ