blob: 4873b95e207f58dffb738ccef08b7a6b1014a1e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* Copyright (C) 2012 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*/
#include "ipf.h"
void
printdstlistpolicy(policy)
ippool_policy_t policy;
{
switch (policy)
{
case IPLDP_NONE :
PRINTF("none");
break;
case IPLDP_ROUNDROBIN :
PRINTF("round-robin");
break;
case IPLDP_CONNECTION :
PRINTF("weighting connection");
break;
case IPLDP_RANDOM :
PRINTF("random");
break;
default :
break;
}
}
|