summaryrefslogtreecommitdiff
path: root/networking/libiproute
diff options
context:
space:
mode:
authorDenis Vlasenko2007-11-03 23:17:40 +0000
committerDenis Vlasenko2007-11-03 23:17:40 +0000
commitfa3f806cd0730ddc53765f04a846087b99db847a (patch)
treec76e82b7f511a099cb1c107e13de57207926f89b /networking/libiproute
parent43f0a0bb3a178794ac9fa3f5010db680c5d1b018 (diff)
downloadbusybox-fa3f806cd0730ddc53765f04a846087b99db847a.zip
busybox-fa3f806cd0730ddc53765f04a846087b99db847a.tar.gz
apply accumulated post 1.7.2 patches; bump version to 1.7.31_7_3
Diffstat (limited to 'networking/libiproute')
-rw-r--r--networking/libiproute/iptunnel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/iptunnel.c b/networking/libiproute/iptunnel.c
index 2b17135..6d3a741 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();