From owner-freebsd-net Thu Nov 22 13:25:14 2001 Delivered-To: freebsd-net@freebsd.org Received: from noralf.uib.no (noralf.uib.no [129.177.30.12]) by hub.freebsd.org (Postfix) with ESMTP id 1ECB137B416 for ; Thu, 22 Nov 2001 13:25:10 -0800 (PST) Received: from tunnel-45-12.vpn.uib.no (ii.uib.no) [129.177.45.12] by noralf.uib.no with esmtp (Exim 3.16) id 1671KS-0005Mf-00; Thu, 22 Nov 2001 22:24:16 +0100 Message-ID: <3BFD6E36.1020306@ii.uib.no> Date: Thu, 22 Nov 2001 22:29:26 +0100 From: Trond Davidsen User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.3) Gecko/20010909 X-Accept-Language: en-us MIME-Version: 1.0 To: Archie Cobbs Cc: freebsd-net@FreeBSD.ORG Subject: Mpd 3.2: Error in pptp.c? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanner: exiscan *1671KS-0005Mf-00*ifQVIqkFefs* http://tjinfo.uib.no/virus.html Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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