oops, KNF that

This commit is contained in:
sommerfe 1998-07-31 21:38:43 +00:00
parent c13b52407e
commit ff9a2c8d5c
1 changed files with 10 additions and 9 deletions

View File

@ -56,7 +56,7 @@
#ifndef lint
static char copyright[] =
"$Id: dhclient.c,v 1.2 1998/07/31 21:27:08 sommerfe Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
"$Id: dhclient.c,v 1.3 1998/07/31 21:38:43 sommerfe Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@ -191,14 +191,15 @@ int main (argc, argv, envp)
} else {
/* Call the script with the list of interfaces. */
for (ip = interfaces; ip; ip = ip -> next) {
if ((interfaces_requested == 0) ||
(ip->flags == INTERFACE_REQUESTED)) {
script_init (ip, "PREINIT", (struct string_list *)0);
if (ip -> client -> alias)
script_write_params (ip, "alias_",
ip -> client -> alias);
script_go (ip);
}
if ((interfaces_requested == 0) ||
(ip->flags == INTERFACE_REQUESTED)) {
script_init (ip, "PREINIT",
(struct string_list *)0);
if (ip -> client -> alias)
script_write_params(ip, "alias_",
ip->client->alias);
script_go (ip);
}
}
}