From: Ted Lemon Date: Wed, 3 Feb 1999 19:09:49 +0000 (+0000) Subject: Fix fallback protocol setup. X-Git-Tag: V2-BETA-1-PATCH-9~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2e1cd3ff7147b75a690c60116afa93d9d3e42dec;p=thirdparty%2Fdhcp.git Fix fallback protocol setup. --- diff --git a/common/socket.c b/common/socket.c index 4cf5366ae..4d4371d64 100644 --- a/common/socket.c +++ b/common/socket.c @@ -50,7 +50,7 @@ #ifndef lint static char copyright[] = -"$Id: socket.c,v 1.26.2.4 1998/12/22 22:45:05 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: socket.c,v 1.26.2.5 1999/02/03 19:09:49 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -272,7 +272,8 @@ void maybe_setup_fallback () fbi = setup_fallback (); if (fbi) { fbi -> wfdesc = if_register_socket (fbi); - add_protocol ("fallback", fbi -> rfdesc, got_one, fbi); + add_protocol ("fallback", + fbi -> wfdesc, fallback_discard, fbi); } #endif }