diff options
author | denis <denis@cvs.openbsd.org> | 2018-12-28 13:38:16 +0000 |
---|---|---|
committer | denis <denis@cvs.openbsd.org> | 2018-12-28 13:38:16 +0000 |
commit | 1c24bd7bf28cc0b803fe3f2f6ff857b9caaf5956 (patch) | |
tree | 3346585f18f822f0f02785f80a76d56a25c6be7c /usr.sbin/bgpd | |
parent | b16e468e402f5fd7819cb19299c50be5e0121a3e (diff) |
report right function name in error message
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/rde_prefix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde_prefix.c b/usr.sbin/bgpd/rde_prefix.c index 63927c95503..63aeeb5f2aa 100644 --- a/usr.sbin/bgpd/rde_prefix.c +++ b/usr.sbin/bgpd/rde_prefix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_prefix.c,v 1.34 2018/09/04 12:00:29 claudio Exp $ */ +/* $OpenBSD: rde_prefix.c,v 1.35 2018/12/28 13:38:15 denis Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -115,7 +115,7 @@ pt_fill(struct bgpd_addr *prefix, int prefixlen) bzero(&pte6, sizeof(pte6)); pte6.aid = prefix->aid; if (prefixlen > 128) - fatalx("pt_get: bad IPv6 prefixlen"); + fatalx("pt_fill: bad IPv6 prefixlen"); inet6applymask(&pte6.prefix6, &prefix->v6, prefixlen); pte6.prefixlen = prefixlen; return ((struct pt_entry *)&pte6); |