diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-11 22:08:05 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-11 22:08:05 +0000 |
commit | 02f469848d333f90232e757bf7d401dbf950e18f (patch) | |
tree | 45100df81d831ed670c4f4b8dc37fd81f66ccdfe | |
parent | 41f146183279323151b9eed14d4d896a75add6f9 (diff) |
KNF
-rw-r--r-- | usr.sbin/bgpd/kroute.c | 4 | ||||
-rw-r--r-- | usr.sbin/bgpd/rde.c | 4 | ||||
-rw-r--r-- | usr.sbin/bgpd/rde_rib.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c index b68efdd7cdf..bebb9f2f2ba 100644 --- a/usr.sbin/bgpd/kroute.c +++ b/usr.sbin/bgpd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.66 2004/01/11 22:01:13 henning Exp $ */ +/* $OpenBSD: kroute.c,v 1.67 2004/01/11 22:08:04 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -379,7 +379,7 @@ knexthop_compare(struct knexthop_node *a, struct knexthop_node *b) if (a->nexthop.af != b->nexthop.af) return (b->nexthop.af - a->nexthop.af); - switch(a->nexthop.af) { + switch (a->nexthop.af) { case AF_INET: if ((r = b->nexthop.addr32[0] - a->nexthop.addr32[0]) != 0) return (r); diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index ea6ec578b71..75152aec191 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.59 2004/01/11 22:06:57 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.60 2004/01/11 22:08:04 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -545,7 +545,7 @@ rde_update_log(const char *message, const struct bgpd_addr *prefix, u_int8_t prefixlen) { char *neighbor; - char *nexthop = NULL; + char *nexthop = NULL; struct in_addr nh; if (! (conf->log & BGPD_LOG_UPDATES)) diff --git a/usr.sbin/bgpd/rde_rib.c b/usr.sbin/bgpd/rde_rib.c index 2a435b6a9c4..21d593f1ee7 100644 --- a/usr.sbin/bgpd/rde_rib.c +++ b/usr.sbin/bgpd/rde_rib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_rib.c,v 1.20 2004/01/11 21:59:45 henning Exp $ */ +/* $OpenBSD: rde_rib.c,v 1.21 2004/01/11 22:08:04 henning Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -1007,7 +1007,7 @@ struct nexthop_table { } nexthoptable; #define NEXTHOP_HASH(x) \ - &nexthoptable.nexthop_hashtbl[ntohl((x)) & \ + &nexthoptable.nexthop_hashtbl[ntohl((x)) & \ nexthoptable.nexthop_hashmask] void |