]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - iproute2/patches/iproute2-2.6.39-create-peer-veth-without-a-name.patch
iproute2: Update to 3.3.0.
[people/arne_f/ipfire-3.x.git] / iproute2 / patches / iproute2-2.6.39-create-peer-veth-without-a-name.patch
diff --git a/iproute2/patches/iproute2-2.6.39-create-peer-veth-without-a-name.patch b/iproute2/patches/iproute2-2.6.39-create-peer-veth-without-a-name.patch
new file mode 100644 (file)
index 0000000..b77dd71
--- /dev/null
@@ -0,0 +1,17 @@
+diff --git a/ip/.link_veth.c.swp b/ip/.link_veth.c.swp
+deleted file mode 100644
+index e3b5480..0000000
+Binary files a/ip/.link_veth.c.swp and /dev/null differ
+diff --git a/ip/link_veth.c b/ip/link_veth.c
+index 3d19b01..eb0f41e 100644
+--- a/ip/link_veth.c
++++ b/ip/link_veth.c
+@@ -27,7 +27,7 @@ static void usage(void)
+ static int veth_parse_opt(struct link_util *lu, int argc, char **argv,
+                         struct nlmsghdr *hdr)
+ {
+-      char *name, *type, *link, *dev;
++      char *name = NULL, *type = NULL, *link = NULL, *dev = NULL;
+       int err, len;
+       struct rtattr * data;
+       int group;