diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-03-11 17:34:02 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-03-11 17:34:02 +0000 |
commit | 7807c698278e9aa141d8aedf4d4d7b7dc755145a (patch) | |
tree | f1d80c84ef70a8b9d527c6ff4160a94adf38c974 /usr.sbin | |
parent | a19d357bdbc334be82384a27fc1b8412605482a7 (diff) |
KNF
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpd/printconf.c | 4 | ||||
-rw-r--r-- | usr.sbin/bgpd/rde.c | 4 | ||||
-rw-r--r-- | usr.sbin/bgpd/rde_prefix.c | 5 |
3 files changed, 7 insertions, 6 deletions
diff --git a/usr.sbin/bgpd/printconf.c b/usr.sbin/bgpd/printconf.c index 077696c0828..f2e4d3ec5e5 100644 --- a/usr.sbin/bgpd/printconf.c +++ b/usr.sbin/bgpd/printconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printconf.c,v 1.9 2004/03/11 17:12:51 claudio Exp $ */ +/* $OpenBSD: printconf.c,v 1.10 2004/03/11 17:34:01 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -250,7 +250,7 @@ print_rule(struct peer *peer_l, struct filter_rule *r) printf("* "); else printf("%d ", r->match.community.type); - } + } print_set(&r->set); diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index cd08e4cdcfd..e93f401df8d 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.96 2004/03/11 14:22:23 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.97 2004/03/11 17:34:01 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -197,7 +197,7 @@ rde_main(struct bgpd_config *config, struct peer *peer_l, } rde_shutdown(); - + msgbuf_write(&ibuf_se.w); msgbuf_clear(&ibuf_se.w); msgbuf_write(&ibuf_main.w); diff --git a/usr.sbin/bgpd/rde_prefix.c b/usr.sbin/bgpd/rde_prefix.c index 347ababf3e0..7a47fc756c6 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.12 2004/03/11 14:22:23 claudio Exp $ */ +/* $OpenBSD: rde_prefix.c,v 1.13 2004/03/11 17:34:01 henning Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -125,7 +125,8 @@ pt_shutdown(void) for (i = MIN_PREFIX; i <= MAX_PREFIX; i++) { for (j = 0; j < pthashsize[i]; j++) if (!LIST_EMPTY(&pttable[i].pt_hashtbl[j])) - log_warnx("pt_free: free non-free table [%d][%d]", i, j); + log_warnx("pt_free: free non-free table " + "[%d][%d]", i, j); free(pttable[i].pt_hashtbl); } } |