]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
error -> log_fatal
authorTed Lemon <source@isc.org>
Thu, 6 May 1999 20:21:39 +0000 (20:21 +0000)
committerTed Lemon <source@isc.org>
Thu, 6 May 1999 20:21:39 +0000 (20:21 +0000)
common/socket.c

index 0588cdd5c132114e8ba3c59ff58ca04bf09a14a3..7bb49f52d17daffcf1de1a5fc6a6d0c74cafd777 100644 (file)
@@ -30,7 +30,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: socket.c,v 1.35 1999/03/16 06:37:50 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: socket.c,v 1.36 1999/05/06 20:21:39 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -121,7 +121,7 @@ int if_register_socket (info)
        if (info -> ifp &&
            setsockopt (sock, SOL_SOCKET, SO_BINDTODEVICE,
                        (char *)(info -> ifp), sizeof *(info -> ifp)) < 0) {
-               error("setsockopt: SO_BINDTODEVICE: %m");
+               log_fatal ("setsockopt: SO_BINDTODEVICE: %m");
        }
 #endif