From: Ted Lemon Date: Thu, 6 May 1999 20:21:39 +0000 (+0000) Subject: error -> log_fatal X-Git-Tag: V3-ALPHA-19990506~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d20719540984094de735373ac3bf50e2b633016;p=thirdparty%2Fdhcp.git error -> log_fatal --- diff --git a/common/socket.c b/common/socket.c index 0588cdd5c..7bb49f52d 100644 --- a/common/socket.c +++ b/common/socket.c @@ -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