Blame SOURCES/iproute2-2.6.39-create-peer-veth-without-a-name.patch
|
|
5ebd6f |
diff --git a/ip/link_veth.c b/ip/link_veth.c
|
|
|
5ebd6f |
index 3d19b01..eb0f41e 100644
|
|
|
5ebd6f |
--- a/ip/link_veth.c
|
|
|
5ebd6f |
+++ b/ip/link_veth.c
|
|
|
5ebd6f |
@@ -27,7 +27,7 @@ static void usage(void)
|
|
|
5ebd6f |
static int veth_parse_opt(struct link_util *lu, int argc, char **argv,
|
|
|
5ebd6f |
struct nlmsghdr *hdr)
|
|
|
5ebd6f |
{
|
|
|
5ebd6f |
- char *name, *type, *link, *dev;
|
|
|
5ebd6f |
+ char *name = NULL, *type = NULL, *link = NULL, *dev = NULL;
|
|
|
5ebd6f |
int err, len;
|
|
|
5ebd6f |
struct rtattr * data;
|
|
|
5ebd6f |
int group;
|