]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Set up back-pointer when allocating client based on discovered interfaces.
authorTed Lemon <source@isc.org>
Tue, 9 Mar 1999 19:58:42 +0000 (19:58 +0000)
committerTed Lemon <source@isc.org>
Tue, 9 Mar 1999 19:58:42 +0000 (19:58 +0000)
client/clparse.c

index a2c4ac143dc8002fcba3bc5309c92bea317ce384..3e83a2994827dad2dfb28e39f7ca97b497008c6b 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: clparse.c,v 1.23 1999/02/25 23:30:31 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: clparse.c,v 1.24 1999/03/09 19:58:42 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -129,6 +129,7 @@ int read_client_conf ()
                        if (!ip -> client)
                                log_fatal ("no memory for client state.");
                        memset (ip -> client, 0, sizeof *(ip -> client));
+                       ip -> client -> interface = ip;
                }
 
                if (!ip -> client -> config) {