svn commit: trunk/busybox/networking/libiproute
vda at busybox.net
vda at busybox.net
Wed Oct 10 14:43:03 UTC 2007
Author: vda
Date: 2007-10-10 07:43:03 -0700 (Wed, 10 Oct 2007)
New Revision: 20216
Log:
ip tunnel parameter parsing fix by Jean Wolter <jw5 at os.inf.tu-dresden.de>
Modified:
trunk/busybox/networking/libiproute/iptunnel.c
Changeset:
Modified: trunk/busybox/networking/libiproute/iptunnel.c
===================================================================
--- trunk/busybox/networking/libiproute/iptunnel.c 2007-10-10 14:41:07 UTC (rev 20215)
+++ trunk/busybox/networking/libiproute/iptunnel.c 2007-10-10 14:43:03 UTC (rev 20216)
@@ -241,12 +241,12 @@
} 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();
More information about the busybox-cvs
mailing list