From: claudio Date: Thu, 2 Jun 2022 08:46:25 +0000 (+0000) Subject: Adjust some warning messages to be a bit more accurate. ktable_update() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=311b0850f652dd8da4a250a5ead4e1c7c3377a34;p=openbsd Adjust some warning messages to be a bit more accurate. ktable_update() actually loads a routing table and not really an rdomain. --- diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index 90c191bec85..69323cab0b5 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.242 2022/02/06 09:51:19 claudio Exp $ */ +/* $OpenBSD: bgpd.c,v 1.243 2022/06/02 08:46:25 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -629,7 +629,7 @@ send_config(struct bgpd_config *conf) SIMPLEQ_REMOVE_HEAD(&ribnames, entry); if (ktable_update(rr->rtableid, rr->name, rr->flags, conf->fib_priority) == -1) { - log_warnx("failed to load rdomain %d", + log_warnx("failed to load routing table %d", rr->rtableid); return (-1); } @@ -747,7 +747,7 @@ send_config(struct bgpd_config *conf) SIMPLEQ_REMOVE_HEAD(&conf->l3vpns, entry); if (ktable_update(vpn->rtableid, vpn->descr, vpn->flags, conf->fib_priority) == -1) { - log_warnx("failed to load rdomain %d", + log_warnx("failed to load routing table %d", vpn->rtableid); return (-1); }