#ifndef lint
static char copyright[] =
-"$Id: confpars.c,v 1.137 2001/03/17 02:02:20 mellon Exp $ Copyright (c) 1995-2001 The Internet Software Consortium. All rights reserved.\n";
+"$Id: confpars.c,v 1.138 2001/04/06 05:52:19 mellon Exp $ Copyright (c) 1995-2001 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
token = BILLING;
break;
}
+ if (lease -> billing_class)
+ unbill_class (lease,
+ lease -> billing_class);
find_class (&lease -> billing_class, val, MDL);
if (!lease -> billing_class)
parse_warn (cfile,
parse_semi (cfile);
} else if (token == SUBCLASS) {
if (lease -> billing_class)
- class_dereference
- (&lease -> billing_class, MDL);
+ unbill_class (lease,
+ lease -> billing_class);
parse_class_declaration
(&lease -> billing_class,
cfile, (struct group *)0, 3);