summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2008-11-01 19:56:28 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2008-11-01 19:56:28 +0000
commit55ec2536ce6c0d635a791013b3a21bd430cfb4c9 (patch)
tree05c17ea254b680d5062f7824abcf4d88a706d529 /usr.sbin/bgpd
parent1218ec5d337686120611c3f4e8cb25d19051cfdb (diff)
Use correct function names in fatal() messages.
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/rde_update.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/rde_update.c b/usr.sbin/bgpd/rde_update.c
index b6b3e8fdae3..b51f38ac085 100644
--- a/usr.sbin/bgpd/rde_update.c
+++ b/usr.sbin/bgpd/rde_update.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_update.c,v 1.61 2007/11/27 01:13:54 claudio Exp $ */
+/* $OpenBSD: rde_update.c,v 1.62 2008/11/01 19:56:27 claudio Exp $ */
/*
* Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
@@ -360,7 +360,7 @@ up_generate(struct rde_peer *peer, struct rde_aspath *asp,
if (asp) {
ua = calloc(1, sizeof(struct update_attr));
if (ua == NULL)
- fatal("up_generate_updates");
+ fatal("up_generate");
if (up_generate_attr(peer, ua, asp, addr->af) == -1) {
log_warnx("generation of bgp path attributes failed");
@@ -379,7 +379,7 @@ up_generate(struct rde_peer *peer, struct rde_aspath *asp,
up = calloc(1, sizeof(struct update_prefix));
if (up == NULL)
- fatal("up_generate_updates");
+ fatal("up_generate");
up->prefix = *addr;
up->prefixlen = prefixlen;