diff options
author | Ted Lemon <source@isc.org> | 1999-03-29 18:51:37 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1999-03-29 18:51:37 +0000 |
commit | 64ba83870f7a1fb09aa9e7dc8f04a9a341f19f97 (patch) | |
tree | 0ab7a89afc121b7d73d59534ce4e67616cb33bea | |
parent | a17d7685dc1ad137efb374c1f55f3447f024bd2c (diff) | |
download | isc-dhcp-64ba83870f7a1fb09aa9e7dc8f04a9a341f19f97.tar.gz |
Fix typo in error message check.
-rw-r--r-- | common/lpf.c | 4 |
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"); |