diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2018-06-21 17:28:03 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2018-06-21 17:28:03 +0000 |
commit | 1dc2429a31a877846dd7f5409c5a2e243d3899f5 (patch) | |
tree | f3946034027cbcb1190f0a56bf0a32e5c4d357bd /usr.sbin | |
parent | 7b74978539640538f8d99fcc362acaa69f721496 (diff) |
Use correct function name in fatalx()
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpd/rde_filter.c | 12 |
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; |