From: bodea Date: Thu, 9 Dec 2004 13:05:00 +0000 (+0000) Subject: typo X-Git-Tag: release_2_0_13~14 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/8aaccd91e6ea6cd3112b54366dde5963b98d1a32?hp=87979c45b5be17a1ed7d702ab4002ee58d7bbb4b typo --- diff --git a/l2tpns.c b/l2tpns.c index 60b5497..e999490 100644 --- a/l2tpns.c +++ b/l2tpns.c @@ -4,7 +4,7 @@ // Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced // vim: sw=8 ts=8 -char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.63 2004/12/09 00:50:45 bodea Exp $"; +char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.64 2004/12/09 13:05:00 bodea Exp $"; #include #include @@ -2369,7 +2369,7 @@ static void mainloop(void) int cli; alen = sizeof(addr); - if ((cli = accept(clifd, (struct sockaddr *)&addr, &len)) >= 0) + if ((cli = accept(clifd, (struct sockaddr *)&addr, &alen)) >= 0) { cli_do(cli); close(cli);