From: Ted Lemon Date: Thu, 6 Mar 1997 07:02:54 +0000 (+0000) Subject: Change calling conventions to dispatch(). Set bootp_packet_handler to do_packet(). X-Git-Tag: DHCP-970306~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee1cd2caa931ee3e07f0efacd471c52a3970722f;p=thirdparty%2Fdhcp.git Change calling conventions to dispatch(). Set bootp_packet_handler to do_packet(). --- diff --git a/server/dhcpd.c b/server/dhcpd.c index b063c305a..b99b44e4c 100644 --- a/server/dhcpd.c +++ b/server/dhcpd.c @@ -42,7 +42,7 @@ #ifndef lint static char ocopyright[] = -"$Id: dhcpd.c,v 1.38 1997/02/22 08:49:44 mellon Exp $ Copyright 1995, 1996 The Internet Software Consortium."; +"$Id: dhcpd.c,v 1.39 1997/03/06 07:02:54 mellon Exp $ Copyright 1995, 1996 The Internet Software Consortium."; #endif static char copyright[] = @@ -247,8 +247,11 @@ int main (argc, argv, envp) } #endif /* !DEBUG */ + /* Set up the bootp packet handler... */ + bootp_packet_handler = do_packet; + /* Receive packets and dispatch them... */ - dispatch (1); + dispatch (); /* Not reached */ return 0;