aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/x25_sr.c')
-rw-r--r--lib/x25_sr.c2
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) {