summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/irr_output.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2007-03-04 20:31:23 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2007-03-04 20:31:23 +0000
commit941a6e8494022e22ed98f50972034fda7cf7a9fb (patch)
treeb8aa0d38985dc389a7d58bfad488f4b3771d731e /usr.sbin/bgpctl/irr_output.c
parentdf71ee7c5de462c2ee97ffa6a1acacb2ed7db20f (diff)
rename struct prefix -> irr_prefix
Diffstat (limited to 'usr.sbin/bgpctl/irr_output.c')
-rw-r--r--usr.sbin/bgpctl/irr_output.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpctl/irr_output.c b/usr.sbin/bgpctl/irr_output.c
index 4c94f48a43a..8d6152d6a11 100644
--- a/usr.sbin/bgpctl/irr_output.c
+++ b/usr.sbin/bgpctl/irr_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: irr_output.c,v 1.8 2007/03/04 20:05:11 henning Exp $ */
+/* $OpenBSD: irr_output.c,v 1.9 2007/03/04 20:31:22 henning Exp $ */
/*
* Copyright (c) 2007 Henning Brauer <henning@openbsd.org>
@@ -37,7 +37,7 @@ int process_policies(FILE *, struct policy_head *);
void policy_prettyprint(FILE *, struct policy_item *);
void policy_torule(FILE *, struct policy_item *);
char *action_torule(char *);
-void print_rule(FILE *, struct policy_item *, char *, struct prefix *);
+void print_rule(FILE *, struct policy_item *, char *, struct irr_prefix *);
#define allowed_in_address(x) \
(isalnum(x) || x == '.' || x == ':' || x == '-')
@@ -195,7 +195,7 @@ action_torule(char *s)
void
print_rule(FILE *fh, struct policy_item *pi, char *sourceas,
- struct prefix *prefix)
+ struct irr_prefix *prefix)
{
char *fmt = "allow quick %s %s%s%s%s%s\n";
char *peer = "any";