From: Ted Lemon Date: Mon, 29 Mar 1999 18:51:37 +0000 (+0000) Subject: Fix typo in error message check. X-Git-Tag: V3-ALPHA-19990329~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=64ba83870f7a1fb09aa9e7dc8f04a9a341f19f97;p=thirdparty%2Fdhcp.git Fix typo in error message check. --- diff --git a/common/lpf.c b/common/lpf.c index 76d38560d..97df7110a 100644 --- a/common/lpf.c +++ b/common/lpf.c @@ -23,7 +23,7 @@ #ifndef lint static char copyright[] = -"$Id: lpf.c,v 1.9 1999/03/26 19:19:44 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$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"; #endif /* not lint */ #include "dhcpd.h" @@ -86,7 +86,7 @@ int if_register_lpf (info) if (bind (sock, &sa, sizeof sa)) { if (errno == ENOPROTOOPT || errno == EPROTONOSUPPORT || errno == ESOCKTNOSUPPORT || errno == EPFNOSUPPORT || - errno == EAFNOSUPPORT || errno = EINVAL) + errno == EAFNOSUPPORT || errno == EINVAL) log_fatal ("socket: %m - make sure %s %s!", "CONFIG_PACKET and CONFIG_FILTER are defined", "in your kernel configuration");