#ifndef lint
static char ocopyright[] =
-"$Id: dhcrelay.c,v 1.51 2001/04/05 22:44:23 mellon Exp $ Copyright (c) 1997-2000 Internet Software Consortium. All rights reserved.\n";
+"$Id: dhcrelay.c,v 1.52 2001/04/19 16:48:53 mellon Exp $ Copyright (c) 1997-2000 Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
usage ();
}
strcpy (tmp -> name, argv [i]);
- tmp -> flags = INTERFACE_REQUESTED;
- if (interfaces) {
- interface_reference (&tmp -> next, interfaces,
- MDL);
- interface_dereference (&interfaces, MDL);
- }
- interface_reference (&interfaces, tmp, MDL);
+ interface_snorf (tmp, INTERFACE_REQUESTED);
interface_dereference (&tmp, MDL);
} else if (!strcmp (argv [i], "-q")) {
quiet = 1;