]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Change calling conventions to dispatch(). Set bootp_packet_handler to do_packet().
authorTed Lemon <source@isc.org>
Thu, 6 Mar 1997 07:02:54 +0000 (07:02 +0000)
committerTed Lemon <source@isc.org>
Thu, 6 Mar 1997 07:02:54 +0000 (07:02 +0000)
server/dhcpd.c

index b063c305ac10d2fb5ee681a3b13e8f043f83023f..b99b44e4c2ab4e571fb6dde3c3d94cc6f94ebe52 100644 (file)
@@ -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;