iproute/iproute2-2.6.39-create-peer-veth-without-a-name.patch
Petr Šabata bf1ab7bc70 3.10.0 bump
- Drop the SHAREDIR patch and revert to upstream ways (#966445)
- Fix an XFRM regression with FORTIFY_SOURCE
2013-07-17 14:54:29 +02:00

14 lines
411 B
Diff

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;