diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-03-01 17:04:08 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-03-01 17:04:08 +0000 |
commit | 6cb8e94f552779e2ee72a400af6177bdb43e2c24 (patch) | |
tree | 7732c5e9e22a3f45ed6021537c267724442e8a91 /usr.sbin | |
parent | 5e10182ce2fa51d51f190e0eafd4b0d1a2358da9 (diff) |
KNF
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpd/parse.y | 4 | ||||
-rw-r--r-- | usr.sbin/bgpd/printconf.c | 4 | ||||
-rw-r--r-- | usr.sbin/bgpd/rde_attr.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y index d137bbc07d2..e9f20ba2a59 100644 --- a/usr.sbin/bgpd/parse.y +++ b/usr.sbin/bgpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.65 2004/03/01 16:47:06 claudio Exp $ */ +/* $OpenBSD: parse.y,v 1.66 2004/03/01 17:04:07 henning Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -724,7 +724,7 @@ lookup(char *s) { "prepend-self", PREPEND}, { "quick", QUICK}, { "remote-as", REMOTEAS}, - { "route-collector", ROUTECOLL}, + { "route-collector", ROUTECOLL}, { "router-id", ROUTERID}, { "set", SET}, { "source-AS", SOURCEAS}, diff --git a/usr.sbin/bgpd/printconf.c b/usr.sbin/bgpd/printconf.c index 09de7ef6d5c..f421184e366 100644 --- a/usr.sbin/bgpd/printconf.c +++ b/usr.sbin/bgpd/printconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printconf.c,v 1.6 2004/03/01 16:47:06 claudio Exp $ */ +/* $OpenBSD: printconf.c,v 1.7 2004/03/01 17:04:07 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -164,7 +164,7 @@ print_peer(struct peer_config *p) printf("\n"); print_mrt(p->id, p->groupid, c == nada ? "\t" : "\t\t"); - + printf("%s}\n", c); if (p->group[0]) printf("}\n"); diff --git a/usr.sbin/bgpd/rde_attr.c b/usr.sbin/bgpd/rde_attr.c index dad22ba3a96..2705b668138 100644 --- a/usr.sbin/bgpd/rde_attr.c +++ b/usr.sbin/bgpd/rde_attr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_attr.c,v 1.16 2004/02/27 20:53:56 claudio Exp $ */ +/* $OpenBSD: rde_attr.c,v 1.17 2004/03/01 17:04:07 henning Exp $ */ /* * Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org> @@ -130,7 +130,7 @@ attr_parse(u_char *p, u_int16_t len, struct attr_flags *a, int ebgp, */ tmp32 = ntohl(a->nexthop.s_addr); if (IN_MULTICAST(tmp32) || IN_BADCLASS(tmp32) || - (tmp32 & 0x7f000000) == 0x7f000000) + (tmp32 & 0x7f000000) == 0x7f000000) return (-1); break; case ATTR_MED: |