Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 16:53:12 +0400
From:      Alexey V.Neyman <alex.neyman@auriga.ru>
To:        freebsd-hackers@freebsd.org
Subject:   strange code?
Message-ID:  <0110241653120B.01031@vagabond.auriga.ru>

next in thread | raw e-mail | index | archive | help
-----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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0110241653120B.01031>