summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2018-06-26 13:34:27 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2018-06-26 13:34:27 +0000
commit6f8b749f5942125cc198f7f3af0226307ea26114 (patch)
tree9dfa5cfac12ae6c549572c1938f368eb3a15e7c9 /usr.sbin/bgpd
parentf4671a180f629fab6c6678ad0d3f244c712bcf06 (diff)
Wrong function name in error message.
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/rde_update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde_update.c b/usr.sbin/bgpd/rde_update.c
index 1889f44a3b1..7463970f456 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.90 2018/06/13 09:33:51 claudio Exp $ */
+/* $OpenBSD: rde_update.c,v 1.91 2018/06/26 13:34:26 claudio Exp $ */
/*
* Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
@@ -169,7 +169,7 @@ up_prefix_cmp(struct update_prefix *a, struct update_prefix *b)
return (memcmp(a->prefix.vpn4.labelstack,
b->prefix.vpn4.labelstack, a->prefix.vpn4.labellen));
default:
- fatalx("pt_prefix_cmp: unknown af");
+ fatalx("up_prefix_cmp: unknown af");
}
if (a->prefixlen < b->prefixlen)
return (-1);