blob: bbaec74b2781bfdefcc216cd0dbb0ca54b1824fe (
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
32
33
|
/* $NetBSD: printdstlistpolicy.c,v 1.1.1.2 2012/07/22 13:44:40 darrenr Exp $ */
/*
* 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;
}
}
|