Commit 23e60909 authored by Bernd Eckenfels's avatar Bernd Eckenfels

X25 code compiles with 2.4 and 2.6 kernel headers (Debian Bug#271678)

parent 464d1077
......@@ -67,7 +67,7 @@ static int X25_setroute(int action, int options, char **args)
strcpy(target, *args++);
/* Clean out the x25_route_struct structure. */
memset((char *) &rt, 0, sizeof(struct x25_route_struct));
memset((char *) &rt, 0, sizeof(rt));
if ((sigdigits = x25_aftype.input(0, target, (struct sockaddr *)&sx25)) < 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment