]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Enabled checking of the UP flag.
authorDanny Mayer <mayer@ntp.org>
Thu, 17 Apr 2003 02:09:32 +0000 (22:09 -0400)
committerDanny Mayer <mayer@ntp.org>
Thu, 17 Apr 2003 02:09:32 +0000 (22:09 -0400)
bk: 3e9e0cdcxNnSx0ojCeUxkWOGOjhBSQ

ntpd/ntp_io.c

index 3f0f45d078a7cb59a43a7cd20fd894b33777adf0..e3c5b316fce79bde86d023205d0336b06d759921 100644 (file)
@@ -259,10 +259,10 @@ address_okay(isc_interface_t *isc_if) {
 
        /* XXXPDM This should be fixed later, but since we may not have set
         * the UP flag, we at least get to use the interface.
-        *
+        */
        if ((isc_if->flags & INTERFACE_F_UP) == 0)
                return (ISC_FALSE);
-*/
+
        return (ISC_TRUE);
 }
 void