]> git.ipfire.org Git - ipfire-3.x.git/blame - iproute2/patches/iproute2-2.6.39-create-peer-veth-without-a-name.patch
iproute2: Update to 3.3.0.
[ipfire-3.x.git] / iproute2 / patches / iproute2-2.6.39-create-peer-veth-without-a-name.patch
CommitLineData
d5598cce
MT
1diff --git a/ip/.link_veth.c.swp b/ip/.link_veth.c.swp
2deleted file mode 100644
3index e3b5480..0000000
4Binary files a/ip/.link_veth.c.swp and /dev/null differ
5diff --git a/ip/link_veth.c b/ip/link_veth.c
6index 3d19b01..eb0f41e 100644
7--- a/ip/link_veth.c
8+++ b/ip/link_veth.c
9@@ -27,7 +27,7 @@ static void usage(void)
10 static int veth_parse_opt(struct link_util *lu, int argc, char **argv,
11 struct nlmsghdr *hdr)
12 {
13- char *name, *type, *link, *dev;
14+ char *name = NULL, *type = NULL, *link = NULL, *dev = NULL;
15 int err, len;
16 struct rtattr * data;
17 int group;