]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Bug #214: Return ISC_FALSE on not equal
authorDanny Mayer <mayer@ntp.org>
Mon, 14 Feb 2005 06:15:09 +0000 (01:15 -0500)
committerDanny Mayer <mayer@ntp.org>
Mon, 14 Feb 2005 06:15:09 +0000 (01:15 -0500)
bk: 421041edBcoaQzubKTbn2lgSpvIgBw

ntpd/ntp_io.c

index 8b2ca2a9dbbba5cd531522eb06acd5f8a3ce6f35..243ff99986ed7d968da4cba8857e414d776ab958 100644 (file)
@@ -417,6 +417,8 @@ address_okay(isc_interface_t *isc_if) {
        if (specific_interface != NULL) {
                if (strcasecmp(isc_if->name, specific_interface) == 0)
                        return (ISC_TRUE);
+               else
+                       return (ISC_FALSE);
        }
        else {
                if (listen_to_virtual_ips == 0  &&