summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2018-06-21 17:28:02 +0000
committerclaudio <claudio@openbsd.org>2018-06-21 17:28:02 +0000
commit27bec96f91039dbd9b4734c74d6ceedc2a24f060 (patch)
tree1792f585640f0cb29b9d42a1034659b446a53cb2
parentNothing is using the active and prefix count in struct rde_aspath. (diff)
downloadwireguard-openbsd-27bec96f91039dbd9b4734c74d6ceedc2a24f060.tar.xz
wireguard-openbsd-27bec96f91039dbd9b4734c74d6ceedc2a24f060.zip
Use correct function name in fatalx()
-rw-r--r--usr.sbin/bgpd/rde_filter.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/bgpd/rde_filter.c b/usr.sbin/bgpd/rde_filter.c
index cf6c986d94f..129a6dd10c8 100644
--- a/usr.sbin/bgpd/rde_filter.c
+++ b/usr.sbin/bgpd/rde_filter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_filter.c,v 1.87 2018/06/13 09:33:51 claudio Exp $ */
+/* $OpenBSD: rde_filter.c,v 1.88 2018/06/21 17:28:02 claudio Exp $ */
/*
* Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
@@ -363,7 +363,7 @@ rde_filter_match(struct filter_rule *f, struct rde_aspath *asp,
if (asp != NULL && f->match.community.as != COMMUNITY_UNSET) {
switch (f->match.community.as) {
case COMMUNITY_ERROR:
- fatalx("rde_apply_set bad community string");
+ fatalx("rde_filter_match bad community string");
case COMMUNITY_NEIGHBOR_AS:
cas = peer->conf.remote_as;
break;
@@ -377,7 +377,7 @@ rde_filter_match(struct filter_rule *f, struct rde_aspath *asp,
switch (f->match.community.type) {
case COMMUNITY_ERROR:
- fatalx("rde_apply_set bad community string");
+ fatalx("rde_filter_match bad community string");
case COMMUNITY_NEIGHBOR_AS:
type = peer->conf.remote_as;
break;
@@ -401,7 +401,7 @@ rde_filter_match(struct filter_rule *f, struct rde_aspath *asp,
COMMUNITY_UNSET) {
switch (f->match.large_community.as) {
case COMMUNITY_ERROR:
- fatalx("rde_apply_set bad community string");
+ fatalx("rde_filter_match bad community string");
case COMMUNITY_NEIGHBOR_AS:
las = peer->conf.remote_as;
break;
@@ -415,7 +415,7 @@ rde_filter_match(struct filter_rule *f, struct rde_aspath *asp,
switch (f->match.large_community.ld1) {
case COMMUNITY_ERROR:
- fatalx("rde_apply_set bad community string");
+ fatalx("rde_filter_match bad community string");
case COMMUNITY_NEIGHBOR_AS:
ld1 = peer->conf.remote_as;
break;
@@ -429,7 +429,7 @@ rde_filter_match(struct filter_rule *f, struct rde_aspath *asp,
switch (f->match.large_community.ld2) {
case COMMUNITY_ERROR:
- fatalx("rde_apply_set bad community string");
+ fatalx("rde_filter_match bad community string");
case COMMUNITY_NEIGHBOR_AS:
ld2 = peer->conf.remote_as;
break;