From effcd0ddc20d920e45dca518c1d95ee8349c98ae Mon Sep 17 00:00:00 2001 From: Sebastian Benoit Date: Thu, 10 Aug 2017 15:44:10 +0000 Subject: Fix a comment and line length. Noted by Dennis fondras. ok benno@ --- usr.sbin/bgpd/rde.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'usr.sbin/bgpd') diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index a572a8e18b7..0ad81ac8512 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.369 2017/08/10 14:12:34 benno Exp $ */ +/* $OpenBSD: rde.c,v 1.370 2017/08/10 15:44:09 benno Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -213,11 +213,11 @@ rde_main(int debug, int verbose) signal(SIGALRM, SIG_IGN); signal(SIGUSR1, SIG_IGN); - /* initialize the RIB structures */ if ((ibuf_main = malloc(sizeof(struct imsgbuf))) == NULL) fatal(NULL); imsg_init(ibuf_main, 3); + /* initialize the RIB structures */ pt_init(); path_init(pathhashsize); aspath_init(pathhashsize); @@ -1169,7 +1169,8 @@ rde_update_dispatch(struct imsg *imsg) if (peer->conf.max_prefix && peer->prefix_cnt > peer->conf.max_prefix) { log_peer_warnx(&peer->conf, "prefix limit reached" - " (>%u/%u)", peer->prefix_cnt, peer->conf.max_prefix); + " (>%u/%u)", peer->prefix_cnt, + peer->conf.max_prefix); rde_update_err(peer, ERR_CEASE, ERR_CEASE_MAX_PREFIX, NULL, 0); goto done; -- cgit v1.2.3