From owner-freebsd-hackers Wed Oct 24 5:53:39 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.auriga.ru (mail.auriga.ru [213.24.253.102]) by hub.freebsd.org (Postfix) with ESMTP id 4167337B401 for ; Wed, 24 Oct 2001 05:53:22 -0700 (PDT) Received: from vagabond.auriga.ru ([213.24.253.246]) by mail.auriga.ru with smtp (Exim 3.14 #1) id 15wNdI-00075V-00 for freebsd-hackers@freebsd.org; Wed, 24 Oct 2001 16:59:44 +0400 Content-Type: text/plain; charset="koi8-r" From: Alexey V.Neyman To: freebsd-hackers@freebsd.org Subject: strange code? Date: Wed, 24 Oct 2001 16:53:12 +0400 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <0110241653120B.01031@vagabond.auriga.ru> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello there! I've stumbled accross the following in sys/netinet/ip_input.c (v.1.173) - --- lines 470-477 --- if (m == NULL) { /* Packet discarded by firewall */ static int __debug=10; if (__debug >0) { printf("firewall returns NULL, please update!\n"); __debug-- ; } return; } What is the meaning of this construct? Isn't it functionally equivalent to if (m == NULL) { /* Packet discarded by firewall */ printf("firewall returns NULL, please update!\n"); return; } Regards, Alexey. - -- <-------------------------> ) May the Sun and Water ( Regards, Alexey V. Neyman ) always fall upon you! ( mailto:alex.neyman@auriga.ru <-------------------------> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE71rm49lSeDZjilyARAu7sAKCWGDNMTnMy8NmFPFO9t3dD9fmetQCeN0ON sHY5niBtHp8C4IO4QDVoOPE= =0yx6 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message