From 9eac0eab2667087fc6d5fd86848ec87901799030 Mon Sep 17 00:00:00 2001 From: ecki Date: Sun, 4 Sep 2005 04:23:13 +0000 Subject: [PATCH] X25 code compiles with 2.4 and 2.6 kernel headers (Debian Bug#271678) --- lib/x25_sr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/x25_sr.c b/lib/x25_sr.c index 8783fa3d5..3d65759c2 100644 --- a/lib/x25_sr.c +++ b/lib/x25_sr.c @@ -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) { -- 2.11.4.GIT