Date: Thu, 22 Nov 2001 22:29:26 +0100 From: Trond Davidsen <trond.davidsen@ii.uib.no> To: Archie Cobbs <archie@dellroad.org> Cc: freebsd-net@FreeBSD.ORG Subject: Mpd 3.2: Error in pptp.c? Message-ID: <3BFD6E36.1020306@ii.uib.no>
next in thread | raw e-mail | index | archive | help
Hi, in the file pptp.c in function PptpHookUp about line 481: /* Get session info */ memset(&self_addr, 0, sizeof(self_addr)); self_addr.sin_family = AF_INET; self_addr.sin_len = sizeof(self_addr); peer_addr = self_addr; shouldn't peer_addr get it's own structure? When I insert logging after this, self_addr and peer_addr is the same addres, which don't make any sense to me. Trond To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BFD6E36.1020306>