diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-04-21 08:55:22 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-04-21 08:55:22 +0000 |
commit | 45bb06b49333324d7c1c392295aaf1d245b93650 (patch) | |
tree | 7e35f9fbcffe06586c3a08dba41e6ebe57754e90 /usr.sbin/bgpd/rde.c | |
parent | 4ebbb6beb167a549bc5f8b12e42ed94bca5c9459 (diff) |
attr_init() should use attrhashsize and not pathhashsize. Found via a lint
cleanup diff from deraadt@.
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
-rw-r--r-- | usr.sbin/bgpd/rde.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 5230cd23d8f..2b7dd2ab9e5 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.204 2006/04/12 14:05:46 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.205 2006/04/21 08:55:21 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -193,7 +193,7 @@ rde_main(struct bgpd_config *config, struct peer *peer_l, pt_init(); path_init(pathhashsize); aspath_init(pathhashsize); - attr_init(pathhashsize); + attr_init(attrhashsize); nexthop_init(nexthophashsize); peer_init(peerhashsize); rules_l = rules; |