]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
error -> log_fatal
authorTed Lemon <source@isc.org>
Mon, 12 Apr 1999 21:34:37 +0000 (21:34 +0000)
committerTed Lemon <source@isc.org>
Mon, 12 Apr 1999 21:34:37 +0000 (21:34 +0000)
common/lpf.c

index 97df7110a17a29ec18f153482066dc6e519a801c..af2d58dd1e48fd280a8b6f2818ca107a088f42ea 100644 (file)
@@ -23,7 +23,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: lpf.c,v 1.10 1999/03/29 18:51:37 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: lpf.c,v 1.11 1999/04/12 21:34:37 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -74,9 +74,9 @@ int if_register_lpf (info)
                    errno == ESOCKTNOSUPPORT || errno == EPFNOSUPPORT ||
                    errno == EAFNOSUPPORT || errno == EINVAL)
                        log_fatal ("socket: %m - make sure %s %s!",
-                              "CONFIG_PACKET and CONFIG_FILTER are defined",
-                              "in your kernel configuration");
-               error("Open a socket for LPF: %m");
+                                  "CONFIG_PACKET and CONFIG_FILTER are",
+                                  "defined in your kernel configuration");
+               log_fatal ("Open a socket for LPF: %m");
        }
 
        /* Bind to the interface name */
@@ -88,9 +88,9 @@ int if_register_lpf (info)
                    errno == ESOCKTNOSUPPORT || errno == EPFNOSUPPORT ||
                    errno == EAFNOSUPPORT || errno == EINVAL)
                        log_fatal ("socket: %m - make sure %s %s!",
-                              "CONFIG_PACKET and CONFIG_FILTER are defined",
-                              "in your kernel configuration");
-               error("Bind socket to interface: %m");
+                                  "CONFIG_PACKET and CONFIG_FILTER are",
+                                  "defined in your kernel configuration");
+               log_fatal ("Bind socket to interface: %m");
        }
 
        return sock;