diff options
author | Bernd Eckenfels <net-tools@lina.inka.de> | 2005-09-04 04:23:13 +0000 |
---|---|---|
committer | Bernd Eckenfels <net-tools@lina.inka.de> | 2005-09-04 04:23:13 +0000 |
commit | 23e60909a23e3bba8518ef5bef8ba53cd793e5ea (patch) | |
tree | fc764e79d20f8f460549d55bba2df64c7a8dbf9c | |
parent | Spelling fix for Debian Bug#326124 reported by A. Costa. (diff) | |
download | net-tools-23e60909a23e3bba8518ef5bef8ba53cd793e5ea.tar.gz net-tools-23e60909a23e3bba8518ef5bef8ba53cd793e5ea.tar.bz2 net-tools-23e60909a23e3bba8518ef5bef8ba53cd793e5ea.zip |
X25 code compiles with 2.4 and 2.6 kernel headers (Debian Bug#271678)
-rw-r--r-- | lib/x25_sr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x25_sr.c b/lib/x25_sr.c index 8783fa3..3d65759 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) { |