Hi Daniel,
This patch removes unused variable 'strmtu' and fix an incorrect variable name.
Signed-off-by: Ryousei Takano <takano-ryousei@aist.go.jp>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
}
if (device_set_mtu(veth2, mtu)) {
- lxc_log_error("failed to set mtu for '%s'", veth1);
+ lxc_log_error("failed to set mtu for '%s'", veth2);
goto out;
}
}
{
char path[MAXPATHLEN], *strindex = NULL, *peer = NULL;
char link[IFNAMSIZ];
- char strmtu[MAXMTULEN];
int ifindex, ret = -1;
if (!asprintf(&peer, "%s~%d", file, pid)) {