From fa3f806cd0730ddc53765f04a846087b99db847a Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 3 Nov 2007 23:17:40 +0000 Subject: apply accumulated post 1.7.2 patches; bump version to 1.7.3 --- networking/libiproute/iptunnel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'networking/libiproute/iptunnel.c') diff --git a/networking/libiproute/iptunnel.c b/networking/libiproute/iptunnel.c index 2b1713556..6d3a74165 100644 --- a/networking/libiproute/iptunnel.c +++ b/networking/libiproute/iptunnel.c @@ -241,12 +241,12 @@ static void parse_args(int argc, char **argv, int cmd, struct ip_tunnel_parm *p) } else if (key == ARG_remote) { NEXT_ARG(); key = index_in_strings(keywords, *argv); - if (key == ARG_any) + if (key != ARG_any) p->iph.daddr = get_addr32(*argv); } else if (key == ARG_local) { NEXT_ARG(); key = index_in_strings(keywords, *argv); - if (key == ARG_any) + if (key != ARG_any) p->iph.saddr = get_addr32(*argv); } else if (key == ARG_dev) { NEXT_ARG(); -- cgit v1.2.3-55-g6feb