2 * Copyright (C) 2012 by Darren Reed.
4 * See the IPFILTER.LICENCE file for details on licencing.
12 printdstlistdata(pool, opts)
17 if ((opts & OPT_DEBUG) == 0) {
18 if ((pool->ipld_flags & IPDST_DELETE) != 0)
22 if ((pool->ipld_flags & IPDST_DELETE) != 0)
24 PRINTF("Name: %s\tRole: ", pool->ipld_name);
27 printunit(pool->ipld_unit);
29 if ((opts & OPT_DEBUG) == 0) {
30 PRINTF("/dstlist (name %s;", pool->ipld_name);
31 if (pool->ipld_policy != IPLDP_NONE) {
33 printdstlistpolicy(pool->ipld_policy);
40 PRINTF("\tReferences: %d\n", pool->ipld_ref);
41 if ((pool->ipld_flags & IPDST_DELETE) != 0)
44 printdstlistpolicy(pool->ipld_policy);
45 PRINTF("\n\tNodes Starting at %p\n", pool->ipld_dests);