summaryrefslogtreecommitdiff
path: root/common/lpf.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-03-29 18:51:37 +0000
committerTed Lemon <source@isc.org>1999-03-29 18:51:37 +0000
commit64ba83870f7a1fb09aa9e7dc8f04a9a341f19f97 (patch)
tree0ab7a89afc121b7d73d59534ce4e67616cb33bea /common/lpf.c
parenta17d7685dc1ad137efb374c1f55f3447f024bd2c (diff)
downloadisc-dhcp-64ba83870f7a1fb09aa9e7dc8f04a9a341f19f97.tar.gz
Fix typo in error message check.
Diffstat (limited to 'common/lpf.c')
-rw-r--r--common/lpf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/lpf.c b/common/lpf.c
index 76d38560..97df7110 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");