diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-12-30 03:36:18 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-12-30 03:36:18 +0000 |
commit | 57f3131a559bcea540451dd390658bdfb545c84a (patch) | |
tree | ba90881c249d7e74b4f21069b0fd40a06abcaf98 /sbin/dhclient/dhclient.c | |
parent | f5dcd28d3cd319a79fcdc122ac06a709108620f5 (diff) |
Replace yet another hand-rolled list with a TAILQ. reject_list this
time.
Diffstat (limited to 'sbin/dhclient/dhclient.c')
-rw-r--r-- | sbin/dhclient/dhclient.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index 9bc527c72ed..0b5768d40ea 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.280 2013/12/21 18:23:10 krw Exp $ */ +/* $OpenBSD: dhclient.c,v 1.281 2013/12/30 03:36:17 krw Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -456,6 +456,7 @@ main(int argc, char *argv[]) config = calloc(1, sizeof(*config)); if (config == NULL) error("config calloc"); + TAILQ_INIT(&config->reject_list); get_ifname(argv[0]); if (path_dhclient_db == NULL && asprintf(&path_dhclient_db, "%s.%s", |